summaryrefslogtreecommitdiffstats
path: root/plugins-root/pst3.c
diff options
context:
space:
mode:
authorTon Voon <tonvoon@users.sourceforge.net>2008-05-27 13:35:59 +0000
committerTon Voon <tonvoon@users.sourceforge.net>2008-05-27 13:35:59 +0000
commit62c4c7b9db91e8d4c3e4cdf96537eb081e581712 (patch)
tree734b2276b39f6e429b4e6e220a6cbc279d5b18f8 /plugins-root/pst3.c
parent0ae8525350edb7ff8773024f76f82a0b41714be6 (diff)
downloadmonitoring-plugins-62c4c7b9db91e8d4c3e4cdf96537eb081e581712.tar.gz
Add additional PID column heading
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2001 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins-root/pst3.c')
-rw-r--r--plugins-root/pst3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins-root/pst3.c b/plugins-root/pst3.c
index 87340062..5b0e9d72 100644
--- a/plugins-root/pst3.c
+++ b/plugins-root/pst3.c
@@ -99,7 +99,7 @@ int main (int argc, char **argv)
99 if ((pDir = opendir(PROC_DIR)) != NULL) 99 if ((pDir = opendir(PROC_DIR)) != NULL)
100 { 100 {
101 /* Display column headings */ 101 /* Display column headings */
102 printf("S UID PPID VSZ RSS %%CPU COMMAND ARGS\n"); 102 printf("S UID PID PPID VSZ RSS %%CPU COMMAND ARGS\n");
103 103
104 /* Zip through all of the process entries */ 104 /* Zip through all of the process entries */
105 while ((pDent = readdir(pDir)) != NULL) 105 while ((pDent = readdir(pDir)) != NULL)