add tags
[ltt-control.git] / tags / ltt-control-0.51-12082008 / lttctl / ltt-disarmalluser.sh
diff --git a/tags/ltt-control-0.51-12082008/lttctl/ltt-disarmalluser.sh b/tags/ltt-control-0.51-12082008/lttctl/ltt-disarmalluser.sh
new file mode 100755 (executable)
index 0000000..0d0f1eb
--- /dev/null
@@ -0,0 +1,16 @@
+#excluding core markers (already connected)
+#excluding locking markers (high traffic)
+
+echo Disconnecting all userspace markers of _RUNNING PROCESSES_ only !
+
+for a in /proc/[0-9]*; do
+       for marker in `cat $a/markers | awk '{print $2}'`; do
+               echo Disonnecting marker $a:$marker
+               case $marker in 
+               *)
+                       CHANNEL=
+                       ;;
+               esac
+               echo "disconnect $marker default dynamic $CHANNEL" > /proc/ltt
+       done
+done
This page took 0.022628 seconds and 4 git commands to generate.