Changeset 16762 for trunk/FACT++
- Timestamp:
- 06/06/13 22:06:56 (11 years ago)
- Location:
- trunk/FACT++/munin
- Files:
-
- 2 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 -
trunk/FACT++/munin/agilent_volt
r16761 r16762 14 14 esac 15 15 16 DATA220=`echo -e -n "meas:volt?\n" | nc 10.0.100.220 5025` 17 RC220=$? 16 DATA=`echo -e -n "meas:volt?\n" | nc 10.0.100.220 5025` 17 RC=$? 18 DATA=`printf %.3f ${DATA}` 18 19 19 if [ "$RC 220" == "0"] ; then20 echo agilent_volt1.value `printf %.3f ${DATA220}`20 if [ "$RC" == "0" -a "$DATA" != "0.000" ] ; then 21 echo agilent_volt1.value $DATA 21 22 fi 22 23 23 DATA222=`echo -e -n "meas:volt?\n" | nc 10.0.100.222 5025` 24 RC222=$? 24 DATA=`echo -e -n "meas:volt?\n" | nc 10.0.100.224 5025` 25 RC=$? 26 DATA=`printf %.3f ${DATA}` 25 27 26 if [ "$RC 222" == "0"] ; then27 echo agilent_volt 3.value `printf %.3f ${DATA222}`28 if [ "$RC" == "0" -a "$DATA" != "0.000" ] ; then 29 echo agilent_volt2.value $DATA 28 30 fi 29 31 30 DATA224=`echo -e -n "meas:volt?\n" | nc 10.0.100.224 5025` 31 RC224=$? 32 DATA=`echo -e -n "meas:volt?\n" | nc 10.0.100.222 5025` 33 RC=$? 34 DATA=`printf %.3f ${DATA}` 32 35 33 if [ "$RC 224" == "0" ] ; then34 echo agilent_volt 2.value `printf %.3f ${DATA224}`36 if [ "$RC" == "0" -a "$DATA" != "0.000" ] ; then 37 echo agilent_volt3.value $DATA 35 38 fi 36 39
Note:
See TracChangeset
for help on using the changeset viewer.