Changeset 16762 for trunk/FACT++/munin/agilent_curr
- Timestamp:
- 06/06/13 22:06:56 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/munin/agilent_curr
r16761 r16762 14 14 esac 15 15 16 DATA220=( `echo -e -n "meas:curr?\n" | nc 10.0.100.220 5025` ) 17 RC220=$? 18 19 if [ "$RC220" == "0" ] ; then 20 echo agilent_cur1.value `printf %.3f ${DATA220}` 16 DATA=`echo -e -n "meas:curr?\n" | nc 10.0.100.220 5025` 17 RC=$? 18 #echo $RC $DATA 19 DATA=`printf %.3f ${DATA}` 20 if [ "$RC" == "0" -a $DATA != "0.000" ] ; then 21 echo agilent_cur1.value $DATA 21 22 fi 22 23 23 DATA224=( `echo -e -n "meas:curr?\n" | nc 10.0.100.224 5025` ) 24 RC224=$? 25 26 if [ "$RC224" == "0" ] ; then 27 echo agilent_cur2.value `printf %.3f ${DATA224}` 24 DATA=`echo -e -n "meas:curr?\n" | nc 10.0.100.224 5025` 25 RC=$? 26 #echo $RC $DATA 27 DATA=`printf %.3f ${DATA}` 28 if [ "$RC" == "0" -a $DATA != "0.000" ] ; then 29 echo agilent_cur2.value $DATA 28 30 fi 29 31 30 DATA222=( `echo -e -n "meas:curr?\n" | nc 10.0.100.222 5025` ) 31 RC222=$? 32 33 if [ "$RC222" == "0" ] ; then 34 echo agilent_cur3.value `printf %.3f ${DATA222}` 32 DATA=`echo -e -n "meas:curr?\n" | nc 10.0.100.222 5025` 33 RC=$? 34 #echo $RC $DATA 35 DATA=`printf %.3f ${DATA}` 36 if [ "$RC" == "0" -a $DATA != "0.000" ] ; then 37 echo agilent_cur3.value $DATA 35 38 fi 36 39
Note:
See TracChangeset
for help on using the changeset viewer.