Changeset 36 for trunk/tool

Show
Ignore:
Timestamp:
05/19/07 11:57:44 (15 years ago)
Author:
andreu
Message:

ticket #1 #2 #7 closed - release 0.0.9beta

Location:
trunk/tool
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/tool/check.sh

    r34 r36  
    11#!/bin/sh 
    22 
    3 num=`ps ax |grep -i "renetcol" | grep -v grep | grep -v defunct |wc -l` 
     3num=`ps ax|grep "renetcol" |grep -v grep|grep -v defunct|grep -v check|wc -l|awk '{print $1}'` 
    44 
    5 if [ 4 -gt $num ] 
    6 then  
     5if [ $num -lt 4 ] 
     6then 
     7  killall renetcol 
     8  sleep 1 
    79  killall renetcolSender 
    810  sleep 1 
     
    1113  /home/maintenance/renetcol-0.0.9/src/renetcolMsgCtl /home/maintenance/renetcol-0.0.9/src/renetcol 
    1214  echo "renetcolMsgCtl started" 
    13   sleep 5 
    14   /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.txt 
     15  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 
    1517  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.txt 
     18  /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 
    1719  echo "renetcolSender restarted" 
    18   /home/maintenance/renetcol-0.0.9/src/renetcolAgg  
     20  /home/maintenance/renetcol-0.0.9/src/renetcolAgg 
    1921else 
    2022  echo "All is up" 
  • trunk/tool/renetcolGUI_0_0_7.py

    r27 r36  
    11 
    2 ##  File: renetcolGUI_0_0_3.py 
     2##  File: renetcolGUI_0_0_7.py 
    33   
    44##  Authors: ANDREU Francois-Xavier  
     
    10031003    print "BPG_IPV6_NEXT_HOP: 63," 
    10041004    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" 
    10061006    print "----------------------------------------------------------------" 
    10071007