Skip to content
brunobraga edited this page Mar 15, 2013 · 2 revisions

termsaver sysmon

External monitoring concept

This is a simple example to handle external files instead of the default CPU/Mem monitoring.

    # run a script in infinite looping to generate a counter (seconds) just
    # to be consumed by termsaver
    $ while true; do echo `date +%S` > /tmp/sysmon-path-test; sleep 1; done
    
    # execute the program from a different terminal
    $ termsaver sysmon -p /tmp/sysmon-path-test
Clone this wiki locally