CPU Usage for Linux

Masoud Tabrizi masoud.tabrizi at gmail.com
Thu Jul 17 18:06:37 CEST 2008


I just ran your command on one of my Linux servers and still get 100.
So how is that suppose to help me;
BTW, nothing is running on my server at this point :-)
M

++++++++++++++++++++++++++++
Masoud Tabrizi
email: masoud.tabrizi at gmail.com
Please consider the environment before printing this email 
++++++++++++++++++++++++++++
-----Original Message-----
From: nagios-users-bounces at lists.sourceforge.net
[mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of
kyle.odonnell at gmail.com
Sent: Thursday, July 17, 2008 11:56 AM
To: Jose Luis Garcia
Cc: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] CPU Usage for Linux

i wrote a very simple one using vmstat to check the idle percentage

/usr/bin/vmstat 1 1 | egrep '[0-9]' |awk '{print $15}'



On 7/17/08, Jose Luis Garcia <garciam at teleline.es> wrote:
> Why don't you like check_load?
>
> I wouldn't mind a CPU at 100% if no process is waiting to be run, would
you?
>
> Cheers
>
>
> 17 Jul 2008 15:31:02 -0000, Nair <vmanojv at rediffmail.com>:
>>
>> Hi Friends,
>>
>> I would love to have thoughts on monitoring CPU for Linux.(without using
>> check_load).
>>
>> Looking for some output like SAR output.
>>
>> Thank you,
>> Nair
>>
>>
>>   [image: Rediff
>>
Shopping]<http://adworks.rediff.com/cgi-bin/AdWorks/click.cgi/www.rediff.com
/signature-default.htm/1050715198 at Middle5/2206641_2199021/2201651/1?PARTNER=
3&OAS_QUERY=null>
>> -------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>> challenge
>> Build the coolest Linux based applications with Moblin SDK & win great
>> prizes
>> Grand prize is a trip for two to an Open Source event anywhere in the
>> world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> _______________________________________________
>> 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
>>
>

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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