From 3d7bea2190ed2eddb4b3e27c706e5da95b6ed96e Mon Sep 17 00:00:00 2001 From: compudj Date: Tue, 6 Nov 2007 18:42:30 +0000 Subject: [PATCH] update arm/disarm git-svn-id: http://ltt.polymtl.ca/svn@2728 04897980-b3bd-0310-b5e0-8ef037075253 --- ltt-control/lttctl/ltt-armall.sh | 6 ------ ltt-control/lttctl/ltt-disarmall.sh | 5 ----- 2 files changed, 11 deletions(-) diff --git a/ltt-control/lttctl/ltt-armall.sh b/ltt-control/lttctl/ltt-armall.sh index 0ec03f3..31b0dc0 100755 --- a/ltt-control/lttctl/ltt-armall.sh +++ b/ltt-control/lttctl/ltt-armall.sh @@ -3,9 +3,3 @@ echo Connecting all markers MARKERS=`cat /proc/ltt|grep -v %k|awk '{print $2}'|sort -u|grep -v ^core_|grep -v ^locking_` for a in $MARKERS; do echo Connecting $a; echo "connect $a default" > /proc/ltt > /proc/ltt; done - -#excluding locking markers (high traffic) -#core markers must be armed -echo Arming all markers -MARKERS=`cat /proc/ltt|awk '{print $2}'|sort -u|grep -v ^locking_` -for a in $MARKERS; do echo Arming $a; echo "arm $a" > /proc/ltt; done diff --git a/ltt-control/lttctl/ltt-disarmall.sh b/ltt-control/lttctl/ltt-disarmall.sh index c8718bf..aedcd55 100755 --- a/ltt-control/lttctl/ltt-disarmall.sh +++ b/ltt-control/lttctl/ltt-disarmall.sh @@ -1,8 +1,3 @@ -#excluding locking -echo Disarming all markers -MARKERS=`cat /proc/ltt|awk '{print $2}'|sort -u|grep -v ^locking_` -for a in $MARKERS; do echo Disarming $a; echo "disarm $a" > /proc/ltt; done - #excluding locking #excluding core markers, not connected to default. echo Disconnecting all markers -- 2.34.1