Hi guys -
The subject says it in a nutshell - I'm looking for a script that will start the sniffer with it's the current settings that I've configured in Winbox if the system CPU load exceeds a certain value (which can be hard-coded in the script). I guess this script has to be run periodically from the scheduler, so I need that code too - I'd probably want to run it every 15 seconds.
I know nothing of ROS scripting, so I'd be much obliged to any scripting gurus out there who can help. Wishes for this script would include code to check to see if the sniffer is already running before attempting to start it (I'm assuming that not doing so results in a non-fatal error so it's a wish instead of a must-have), and also stopping the sniffer (after checking to see if it's running) if the CPU load is below the stipulated value.
Thanks!
Ed