Changeset 36 for trunk/tool
- Timestamp:
- 05/19/07 11:57:44 (16 years ago)
- Location:
- trunk/tool
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/tool/check.sh
r34 r36 1 1 #!/bin/sh 2 2 3 num=`ps ax |grep -i "renetcol" | grep -v grep | grep -v defunct |wc -l`3 num=`ps ax|grep "renetcol" |grep -v grep|grep -v defunct|grep -v check|wc -l|awk '{print $1}'` 4 4 5 if [ 4 -gt $num ] 6 then 5 if [ $num -lt 4 ] 6 then 7 killall renetcol 8 sleep 1 7 9 killall renetcolSender 8 10 sleep 1 … … 11 13 /home/maintenance/renetcol-0.0.9/src/renetcolMsgCtl /home/maintenance/renetcol-0.0.9/src/renetcol 12 14 echo "renetcolMsgCtl started" 13 sleep 514 /home/maintenance/renetcol-0.0.9/src/renetcol /home/maintenance/renetcol-0.0.9/src/info_routeur_netflow.txt /home/maintenance/renetcol-0.0. 8/src/donneesblocsadresses2 /home/maintenance/renetcol-0.0.8/src/rules.txt15 sleep 2 16 /home/maintenance/renetcol-0.0.9/src/renetcol /home/maintenance/renetcol-0.0.9/src/info_routeur_netflow.txt /home/maintenance/renetcol-0.0.9/src/donneesblocsadresses2 /home/maintenance/renetcol-0.0.9/src/rules.txt 15 17 echo "renetcol restarted" 16 /home/maintenance/renetcol-0.0.9/src/renetcolSender /home/maintenance/renetcol-0.0.9/src/renetcol 1 /home/maintenance/renetcol-0.0. 8/src/rules.txt18 /home/maintenance/renetcol-0.0.9/src/renetcolSender /home/maintenance/renetcol-0.0.9/src/renetcol 1 /home/maintenance/renetcol-0.0.9/src/rules.txt 17 19 echo "renetcolSender restarted" 18 /home/maintenance/renetcol-0.0.9/src/renetcolAgg 20 /home/maintenance/renetcol-0.0.9/src/renetcolAgg 19 21 else 20 22 echo "All is up" -
trunk/tool/renetcolGUI_0_0_7.py
r27 r36 1 1 2 ## File: renetcolGUI_0_0_ 3.py2 ## File: renetcolGUI_0_0_7.py 3 3 4 4 ## Authors: ANDREU Francois-Xavier … … 1003 1003 print "BPG_IPV6_NEXT_HOP: 63," 1004 1004 print "IP_PROTOCOL_VERSION: 60, please note that the IPv4 template don't have this field" 1005 print "ROUTER_SRC_ADDR: 0, here it's not a real number for a field"1005 print "ROUTER_SRC_ADDR: 0, !!! it's not a real number for a field, but it's a great function" 1006 1006 print "----------------------------------------------------------------" 1007 1007