[Bug 1082767] Re: Configure-time ps command truncates command names
Gerald Combs
gerald at wireshark.org
Sun Nov 25 00:44:28 UTC 2012
** Description changed:
It looks like the nagios-plugins package is configured with
- --with-ps-command="/bin/ps axwwo 'stat uid pid ppid vsz rss pcpu etime
+ --with-ps-command="/bin/ps axwwo 'stat uid pid ppid vsz rss pcpu etime
comm args'"
Unfortunately using "comm" returns truncated command names (via
/proc/[pid]/status) which makes it difficult or impossible to use
check_procs -C. For example, "check_procs -C apache2" fails while
- "check_procs -C apach" works. It looks like the package should be
- configured with "cmd" or "command" (which use /proc/[pid]/cmdline)
- instead, e.g.
-
- --with-ps-command="/bin/ps axwwo 'stat uid pid ppid vsz rss pcpu etime
- command args'"
+ "check_procs -C apach" works.
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nagios-plugins in Ubuntu.
https://bugs.launchpad.net/bugs/1082767
Title:
Configure-time ps command truncates command names
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nagios-plugins/+bug/1082767/+subscriptions
More information about the Ubuntu-server-bugs
mailing list