check_process for threads possible

Thomas Guyot-Sionnest dermoth at aei.ca
Thu Feb 5 14:15:14 CET 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 05/02/09 04:19 AM, Roman Fiedler wrote:
> Hi list,
> 
> On one machine the count of processes with check_procs and "ps aux" 
> stays the same (17), but the number of threads is increasing until one 
> application breaks. "ps auxH" then lists > 500 elements. Is there a 
> possibility to count these threads using check_procs?

You can manually override the ps command for check-procs - i.e. you
could add the argument to show threads.

See "./configure --help" and look into config.h for the surrend command
definition.


- --
Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJiuZi6dZ+Kt5BchYRAtrZAJwIBr3mkalRt4NlBJTCoA8pEXVz7wCfdqfP
7i8a5MrmJOingEilI0pcf9k=
=mViZ
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
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