##// END OF EJS Templates
Fixed CPU usage measurement, implemented CPU load AVG...
Fixed CPU usage measurement, implemented CPU load AVG - now CPU usage is computed between now and last call, not anymore since last CPU reset. - AVG is computed on last 60 measurements -> 60 seconds. It's a simple average.

File last commit:

r167:6c1a4ac855d5 patch rev 2
r378:ad411bb94578 3.2.0.18 No PWD scrub with...
Show More
RELOAD_ALL_STAR_DUNDEE.py
23 lines | 632 B | text/x-python | PythonLexer
#!/usr/bin/lppmon -e
# LOAD TIMEGEN USING LINK 2
RMAPPlugin0.setValueSpaceWireLinkNumber( 2 )
RMAPPlugin0.setValueTargetLogicalAddress( 254 )
dsu3plugin0.openFile("/opt/DEV_PLE/timegen-qt/bin/timegen")
dsu3plugin0.loadFile()
dsu3plugin0.run()
# LOAD FSW USING LINK 1
RMAPPlugin0.setValueSpaceWireLinkNumber( 1 )
RMAPPlugin0.setValueTargetLogicalAddress( 254 )
dsu3plugin0.openFile("/opt/DEV_PLE/FSW-qt/bin/fsw")
dsu3plugin0.loadFile()
dsu3plugin0.run()
# START SENDING TIMECODES AT 1 Hz
RMAPPlugin0.sig_sendTimecodePeriodically( 1 )
# it is possible to change the time code frequency
#RMAPPlugin0.changeTimecodeFrequency(2)