Configure-time ps command truncates command names
Bug #1082767 reported by
Gerald Combs
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-meta (Ubuntu) |
Opinion
|
Medium
|
Unassigned |
Bug Description
It looks like the nagios-plugins package is configured with
--with-
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.
description: | updated |
Changed in nagios-plugins (Ubuntu): | |
importance: | Undecided → Medium |
To post a comment you must log in.
sorry ... can't reproduce your problem ... at least on quantal:
root@ubuntu:~# LANG=C /usr/lib/ nagios/ plugins/ check_procs -C getty
PROCS OK: 6 Prozesse with command name 'getty'
root@ubuntu:~# ps aux|grep getty
root 1004 0.0 0.0 4632 844 tty4 Ss+ 20:33 0:00 /sbin/getty -8 38400 tty4
root 1008 0.0 0.0 4632 856 tty5 Ss+ 20:33 0:00 /sbin/getty -8 38400 tty5
root 1023 0.0 0.0 4632 848 tty2 Ss+ 20:33 0:00 /sbin/getty -8 38400 tty2
root 1025 0.0 0.0 4632 856 tty3 Ss+ 20:33 0:00 /sbin/getty -8 38400 tty3
root 1029 0.0 0.0 4632 848 tty6 Ss+ 20:33 0:00 /sbin/getty -8 38400 tty6
root 1492 0.0 0.0 4632 852 tty1 Ss+ 20:33 0:00 /sbin/getty -8 38400 tty1
root 13428 0.0 0.0 5636 816 pts/0 S+ 22:13 0:00 grep getty
looks like you messed your local environment