Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Finding out Processor Usage

by logan (Curate)
on Apr 11, 2004 at 18:58 UTC ( #344275=note: print w/ replies, xml ) Need Help??


in reply to Finding out Processor Usage

Your best bet is sar. It's available for Linux, Solaris, Irix, HP-UX, AIX, the dreaded SCO, and probably more *nix. Sar comes with a ton of options for customizing output, so it's my main tool for measuring system performance. I wrote my own wrapper for parsing out only what I needed using a simple split (sorry, work won't let me share), then I printed everything to a file as comma-separated values, making it easy to process the data into reports, graphs, what have you. There's also a good article (code included) here about using Gnuplot to generate graphs from sar output.

-Logan
"What do I want? I'm an American. I want more."


Comment on Re: Finding out Processor Usage
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://344275]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (8)
As of 2015-07-05 03:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls