Checking CPU Utilization

Matt Pounsett matt.pounsett at cira.ca
Mon Jan 19 23:54:29 CET 2004


On Mon, 19 Jan 2004, jeff vier wrote:

> On Mon, 2004-01-19 at 15:08, Matt Pounsett wrote:
> > Off the top of my head, 'top -n 1' will give you that and more.. you can grep
> > the CPU utilization percentages out of the first few lines.  
> 
> Top splits percentages among processors, notably.  So, if you're using
> top to gather that information, you have to take into consideration your
> processor count (quad box means a potential 400+%)

Note also that there's an option to merge those into a single statistic.

-- 
Matt Pounsett                 CIRA - Canadian Internet Registration Authority
Technical Support Programmer                    350 Sparks Street, Suite 1110
matt.pounsett at cira.ca                                 Ottawa, Ontario, Canada
613.237.5335 ext. 231                                      http://www.cira.ca



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list