Changeset 854 for trunk/Monitoring/script
- Timestamp:
- 04/26/13 16:57:16 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Monitoring/script/libIGCM_mock.sh
r842 r854 12 12 ################################## 13 13 14 stack_file="../sample/stack_light" 14 stack_file=$1 15 send_msg="/home/jripsl/snapshot/Monitoring/CNClient/sendAMQPMsg" 16 17 if [ $# -lt 1 ]; then 18 echo "Usage $0 ../sample/stack_light" 19 exit 1 20 fi 15 21 16 22 IFS=$'\n' 17 23 for line in $(cat $stack_file); do 18 echo $line | awk -F" " '{print $4}' 24 #echo $line | awk -F" " '{print $4}' 25 callname=$(echo $line | awk -F" " '{print $4}' ) 26 $send_msg localhost 5672 string "$callname" 19 27 done
Note: See TracChangeset
for help on using the changeset viewer.