summaryrefslogtreecommitdiffstats
path: root/plugins-root/pst3.c
diff options
context:
space:
mode:
authorTon Voon <tonvoon@users.sourceforge.net>2008-02-28 16:21:59 +0000
committerTon Voon <tonvoon@users.sourceforge.net>2008-02-28 16:21:59 +0000
commit9f3d864fd3e47d4e728b196b1b6948a8a5e47e4e (patch)
treeffaf70a0a09e40cf706f1362a01450f76e845d18 /plugins-root/pst3.c
parentf00e6a9676154eaac8aed140c49bde76e52d6cee (diff)
downloadmonitoring-plugins-9f3d864fd3e47d4e728b196b1b6948a8a5e47e4e.tar.gz
Reverted check_procs for solaris back to using pst3 due to truncation
for argument fields using other methods git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1937 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins-root/pst3.c')
-rw-r--r--plugins-root/pst3.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins-root/pst3.c b/plugins-root/pst3.c
index bf4b40d3..87340062 100644
--- a/plugins-root/pst3.c
+++ b/plugins-root/pst3.c
@@ -187,9 +187,10 @@ static int HandlePsInfo (char *szPath, psinfo_t *pPsInfo)
187 thisProg = myArgv[0]; 187 thisProg = myArgv[0];
188 188
189 /* Display the ps columns (except for argv) */ 189 /* Display the ps columns (except for argv) */
190 printf("%c %5d %5d %6lu %6lu %4.1f %s ", 190 printf("%c %5d %5d %5d %6lu %6lu %4.1f %s ",
191 pPsInfo->pr_lwp.pr_sname, 191 pPsInfo->pr_lwp.pr_sname,
192 (int)(pPsInfo->pr_euid), 192 (int)(pPsInfo->pr_euid),
193 (int)(pPsInfo->pr_pid),
193 (int)(pPsInfo->pr_ppid), 194 (int)(pPsInfo->pr_ppid),
194 (unsigned long)(pPsInfo->pr_size), 195 (unsigned long)(pPsInfo->pr_size),
195 (unsigned long)(pPsInfo->pr_rssize), 196 (unsigned long)(pPsInfo->pr_rssize),