Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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 having an uproarious good time at the Monastery: (5)
As of 2014-09-22 05:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (180 votes), past polls