checking memory and cpu consumption of procs

Voon, Ton Ton.Voon at egg.com
Wed Dec 18 10:32:40 CET 2002


A check_cpu, based on check_vsz, would be useful. However, it would require
quite a few non-trivial changes to the configure.in and makefile.am to pick
up various flags for the ps command to make it portable. If you want to make
a start, I'd be happy to add in other OSes.

> -----Original Message-----
> From:	Dave Viner [SMTP:dviner at yahoo-inc.com]
> Sent:	Tuesday, December 17, 2002 6:23 PM
> To:	Voon, Ton; nagios-users at lists.sourceforge.net
> Subject:	RE: [Nagios-users] checking memory and cpu consumption of
> procs
> 
> Hi,
> 
> Thanks for pointing me to check_vsz.  This is a really great utility.
> From
> looking at the usage message and the code itself, it looks to me like this
> monitors virtual memory consumption.  Are there any hooks to monitor %cpu
> consumption ?  Perhaps something like
> 	ps waxco 'vsz %cpu command'
> ?  I'm happy to try to add this in if it sounds useful.
> 
> dave
> 
> -----Original Message-----
> From: Voon, Ton [mailto:Ton.Voon at egg.com]
> Sent: Tuesday, December 17, 2002 1:31 AM
> To: 'Dave Viner'; nagios-users at lists.sourceforge.net
> Subject: RE: [Nagios-users] checking memory and cpu consumption of procs
> 
> 
> Dave,
> 
> Take a look at check_vsz for the virtual size of memory usage on a process
> level. I've put lot of functionality patches on sourceforge, so you'll
> need
> to apply those.
> 
> Ton
> 
> > -----Original Message-----
> > From:	Dave Viner [SMTP:dviner at yahoo-inc.com]
> > Sent:	Tuesday, December 17, 2002 6:56 AM
> > To:	nagios-users at lists.sourceforge.net
> > Subject:	[Nagios-users] checking memory and cpu consumption of procs
> >
> > Hi,
> > 	I want to ensure that no process on a machine consumes more than x %
> > of the
> > cpu, and y MB memory.  Is there an existing plugin that handles this?  I
> > saw
> > that check_procs will monitor the number of processes on a machine
> > (including ones that match a certain name), and check_load will examine
> > the
> > machine's overall load averages as reported by uptime.  But I can't seem
> > to
> > find anything that monitors cpu consumption or memory consumption.  Is
> > there
> > a plugin for this already?
> >
> > thanks
> > dave
> >
> 
> 


This private and confidential e-mail has been sent to you by Egg.
The Egg group of companies includes Egg Banking plc
(registered no. 2999842), Egg Financial Products Ltd (registered
no. 3319027) and Egg Investments Ltd (registered no. 3403963) which
carries out investment business on behalf of Egg and is regulated
by the Financial Services Authority.  
Registered in England and Wales. Registered offices: 1 Waterhouse Square,
138-142 Holborn, London EC1N 2NA.
If you are not the intended recipient of this e-mail and have
received it in error, please notify the sender by replying with
'received in error' as the subject and then delete it from your
mailbox.



-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility 
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/




More information about the Users mailing list