Changeset 235
- Timestamp:
- Jan 18, 2011 5:24:51 PM (14 years ago)
- Location:
- pvrrd
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified pvrrd/epics2rrd.csh ¶
r209 r235 53 53 /bin/rm ${PIDFILE} 54 54 /bin/echo ${PID} > ${PIDFILE} 55 /bin/echo " started ${PID}: ${PYTHON} ${SCRIPT}"55 /bin/echo "# started ${PID}: ${PYTHON} ${SCRIPT}" 56 56 breaksw 57 57 case "stop": … … 60 60 setenv NOT_EXISTS $? 61 61 if (${NOT_EXISTS}) then 62 /bin/echo " not running ${PID}: ${SCRIPT}"62 /bin/echo "# not running ${PID}: ${SCRIPT}" 63 63 else 64 64 kill ${PID} 65 /bin/echo " stopped ${PID}: ${SCRIPT}"65 /bin/echo "# stopped ${PID}: ${SCRIPT}" 66 66 endif 67 67 breaksw -
TabularUnified pvrrd/epics2rrd.py ¶
r213 r235 30 30 message += " starting on HOST=" + os.environ['HOST'] 31 31 message += " by user=" + os.environ['USER'] 32 print message32 print "# ", message 33 33 sys.stdout.flush() 34 34 … … 78 78 if len(notconnected_msgs): 79 79 for msg in notconnected_msgs: 80 print msg81 print time.ctime()," PID=" + repr(os.getpid()),80 print "# ", msg 81 print "# ", time.ctime()," PID=" + repr(os.getpid()), 82 82 print " %d of %d PVs connected" % (pvcount, len(db)) 83 83 nexttime = time.time() + update_interval_seconds # set next update time
Note: See TracChangeset
for help on using the changeset viewer.