I'm dealing with a problem of monitoring CPU usage. Basicly I'd like to know what was the average CPU usage % for any piece of my perl code (for example while loop).
I've tried to use AnyEvent::Monitor::CPU with all of it's goodies to put into my code but unfortunately I've found this problem too difficult to solve.
Could you please help me by giving some simple examples of possible solutions?
Best regards, Peter :)
In reply to CPU Monitor by siema24
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |