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."

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 drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2016-07-01 04:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (406 votes). Check out past polls.