1 | 1 |
deleted file mode 100755 |
... | ... |
@@ -1,13 +0,0 @@ |
1 |
-#!/bin/bash |
|
2 |
-# Stop the radmon agent process and clean up environment. |
|
3 |
- |
|
4 |
-AGENT_NAME="[a]rednsigAgent.py" |
|
5 |
- |
|
6 |
-PROCESS_ID="$(ps x | awk -v a=$AGENT_NAME '$7 ~ a {print $1}')" |
|
7 |
- |
|
8 |
-if [ -n "$PROCESS_ID" ]; then |
|
9 |
- printf "killing arednsig agent [%s]\n" $PROCESS_ID |
|
10 |
- kill $PROCESS_ID |
|
11 |
-else |
|
12 |
- echo arednsig agent not running |
|
13 |
-fi |
1 | 1 |
new file mode 100755 |
... | ... |
@@ -0,0 +1,13 @@ |
1 |
+#!/bin/bash |
|
2 |
+# Stop the radmon agent process and clean up environment. |
|
3 |
+ |
|
4 |
+AGENT_NAME="[a]rednsigAgent.py" |
|
5 |
+ |
|
6 |
+PROCESS_ID="$(ps x | awk -v a=$AGENT_NAME '$7 ~ a {print $1}')" |
|
7 |
+ |
|
8 |
+if [ -n "$PROCESS_ID" ]; then |
|
9 |
+ printf "killing arednsig agent [%s]\n" $PROCESS_ID |
|
10 |
+ kill $PROCESS_ID |
|
11 |
+else |
|
12 |
+ echo arednsig agent not running |
|
13 |
+fi |
1 | 1 |
deleted file mode 100755 |
... | ... |
@@ -1,16 +0,0 @@ |
1 |
-#!/bin/bash |
|
2 |
-# Stop the radmon agent process and clean up environment. |
|
3 |
- |
|
4 |
- |
|
5 |
-AGENT_NAME="[a]rednsigAgent.py" |
|
6 |
-#AGENT_NAME="[a]rednsigMirrorAgent.py" |
|
7 |
- |
|
8 |
-#AGENT_NAME="[a]rednsigMirrorAgent.py" |
|
9 |
-PROCESS_ID="$(ps x | awk -v a=$AGENT_NAME '$7 ~ a {print $1}')" |
|
10 |
- |
|
11 |
-if [ -n "$PROCESS_ID" ]; then |
|
12 |
- printf "killing arednsig agent [%s]\n" $PROCESS_ID |
|
13 |
- kill $PROCESS_ID |
|
14 |
-else |
|
15 |
- echo arednsig agent not running |
|
16 |
-fi |
1 | 1 |
new file mode 100755 |
... | ... |
@@ -0,0 +1,16 @@ |
1 |
+#!/bin/bash |
|
2 |
+# Stop the radmon agent process and clean up environment. |
|
3 |
+ |
|
4 |
+ |
|
5 |
+AGENT_NAME="[a]rednsigAgent.py" |
|
6 |
+#AGENT_NAME="[a]rednsigMirrorAgent.py" |
|
7 |
+ |
|
8 |
+#AGENT_NAME="[a]rednsigMirrorAgent.py" |
|
9 |
+PROCESS_ID="$(ps x | awk -v a=$AGENT_NAME '$7 ~ a {print $1}')" |
|
10 |
+ |
|
11 |
+if [ -n "$PROCESS_ID" ]; then |
|
12 |
+ printf "killing arednsig agent [%s]\n" $PROCESS_ID |
|
13 |
+ kill $PROCESS_ID |
|
14 |
+else |
|
15 |
+ echo arednsig agent not running |
|
16 |
+fi |
1 | 1 |
deleted file mode 100755 |
... | ... |
@@ -1,16 +0,0 @@ |
1 |
-#!/bin/bash |
|
2 |
-# Stop the radmon agent process and clean up environment. |
|
3 |
- |
|
4 |
- |
|
5 |
-AGENT_NAME="[a]rednsigAgent.py" |
|
6 |
-#AGENT_NAME="[a]rednsigMirrorAgent.py" |
|
7 |
- |
|
8 |
-#AGENT_NAME="[a]rednsigMirrorAgent.py" |
|
9 |
-PROCESS_ID="$(ps x | awk -v a=$AGENT_NAME '$7 ~ a {print $1}')" |
|
10 |
- |
|
11 |
-if [ -n "$PROCESS_ID" ]; then |
|
12 |
- printf "killing arednsig agent [%s]\n" $PROCESS_ID |
|
13 |
- kill $PROCESS_ID |
|
14 |
-else |
|
15 |
- echo arednsig agent not running |
|
16 |
-fi |
1 | 1 |
new file mode 100755 |
... | ... |
@@ -0,0 +1,16 @@ |
1 |
+#!/bin/bash |
|
2 |
+# Stop the radmon agent process and clean up environment. |
|
3 |
+ |
|
4 |
+ |
|
5 |
+AGENT_NAME="[a]rednsigAgent.py" |
|
6 |
+#AGENT_NAME="[a]rednsigMirrorAgent.py" |
|
7 |
+ |
|
8 |
+#AGENT_NAME="[a]rednsigMirrorAgent.py" |
|
9 |
+PROCESS_ID="$(ps x | awk -v a=$AGENT_NAME '$7 ~ a {print $1}')" |
|
10 |
+ |
|
11 |
+if [ -n "$PROCESS_ID" ]; then |
|
12 |
+ printf "killing arednsig agent [%s]\n" $PROCESS_ID |
|
13 |
+ kill $PROCESS_ID |
|
14 |
+else |
|
15 |
+ echo arednsig agent not running |
|
16 |
+fi |