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

Re: Finding out Processor Usage

by insensate (Hermit)
on Apr 11, 2004 at 00:11 UTC ( [id://344179]=note: print w/replies, xml ) Need Help??


in reply to Finding out Processor Usage

Monks, correct me if I have platform tunnel vision, but on both my AIX machine and my sun machine I use sar -uto output cpu utilization stats. Very easy to parse. For instance: sar -u 1 10 gives me 10 polls of my cpu utilization (usr, sys, wio and idle) at 1 second intervals, the -o flag lets me specify a file (in binary) to output the stats to, then running sar -f on that file lets me extract the stats. I've heard that on linux the systat package (http://perso.wanadoo.fr/sebastien.godard/) will let you use sar as well.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (9)
As of 2024-04-18 16:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found