diff options
author | Ton Voon <tonvoon@users.sourceforge.net> | 2006-04-05 08:06:19 +0000 |
---|---|---|
committer | Ton Voon <tonvoon@users.sourceforge.net> | 2006-04-05 08:06:19 +0000 |
commit | 8c6126f91c8ab5858bb26e47307d52a40ae888f4 (patch) | |
tree | 2fe727cd36af82be29511e98a626742027ad63e9 /plugins | |
parent | 39e0ee3dcd831ddd3a7777fe55e6788825babac7 (diff) | |
download | monitoring-plugins-8c6126f91c8ab5858bb26e47307d52a40ae888f4.tar.gz |
Use pid_t for pids (1463853)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1368 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/check_procs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/check_procs.c b/plugins/check_procs.c index b866ac2c..01acc937 100644 --- a/plugins/check_procs.c +++ b/plugins/check_procs.c | |||
@@ -65,7 +65,7 @@ enum metric metric = METRIC_PROCS; | |||
65 | 65 | ||
66 | int verbose = 0; | 66 | int verbose = 0; |
67 | int uid; | 67 | int uid; |
68 | int ppid; | 68 | pid_t ppid; |
69 | int vsz; | 69 | int vsz; |
70 | int rss; | 70 | int rss; |
71 | float pcpu; | 71 | float pcpu; |
@@ -87,8 +87,8 @@ main (int argc, char **argv) | |||
87 | 87 | ||
88 | pid_t mypid = 0; | 88 | pid_t mypid = 0; |
89 | int procuid = 0; | 89 | int procuid = 0; |
90 | int procpid = 0; | 90 | pid_t procpid = 0; |
91 | int procppid = 0; | 91 | pid_t procppid = 0; |
92 | int procvsz = 0; | 92 | int procvsz = 0; |
93 | int procrss = 0; | 93 | int procrss = 0; |
94 | int procseconds = 0; | 94 | int procseconds = 0; |