##// 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:

r200:c3398948f0c8 R3
r378:ad411bb94578 3.2.0.18 No PWD scrub with...
Show More
LFRControlPlugin_reload_timegen.py
12 lines | 287 B | text/x-python | PythonLexer
/ python_scripts / LFRControlPlugin_reload_timegen.py
# LOAD FSW USING LINK 1
SpwPlugin0.StarDundeeSelectLinkNumber( 2 )
dsu3plugin0.openFile("/opt/LFR/TIMEGEN/0.0.0.1/timegen")
dsu3plugin0.loadFile()
dsu3plugin0.run()
# START SENDING TIMECODES AT 1 Hz
SpwPlugin0.StarDundeeStartTimecodes( 1 )
SpwPlugin0.StarDundeeSelectLinkNumber( 1 )