[Nagiosplug-checkins] nagiosplug/plugins check_procs.c,1.57,1.58

Ton Voon tonvoon at users.sourceforge.net
Tue Mar 6 18:29:17 CET 2007


Update of /cvsroot/nagiosplug/nagiosplug/plugins
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv5845/plugins

Modified Files:
	check_procs.c 
Log Message:
Use /usr/ucb/ps on Solaris in preference to pst3 (problems in 64bit mode)


Index: check_procs.c
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/check_procs.c,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -d -r1.57 -r1.58
--- check_procs.c	28 Jan 2007 21:46:40 -0000	1.57
+++ check_procs.c	6 Mar 2007 17:29:15 -0000	1.58
@@ -200,7 +200,7 @@
 			procseconds = convert_to_seconds(procetime);
 
 			if (verbose >= 3)
-				printf ("%d %d %d %d %d %d %.2f %s %s %s %s\n", 
+				printf ("proc#=%d uid=%d vsz=%d rss=%d pid=%d ppid=%d pcpu=%.2f stat=%s etime=%s prog=%s args=%s\n", 
 					procs, procuid, procvsz, procrss,
 					procpid, procppid, procpcpu, procstat, 
 					procetime, procprog, procargs);





More information about the Commits mailing list