[Bug 1082767] Re: Configure-time ps command truncates command names

2012-12-16 Thread cyco
This is a kernel limitation ... ** Package changed: nagios-plugins (Ubuntu) = linux-meta (Ubuntu) ** Changed in: linux-meta (Ubuntu) Status: New = Opinion -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nagios-plugins in

[Bug 1082767] Re: Configure-time ps command truncates command names

2012-12-16 Thread cyco
This is a kernel limitation ... ** Package changed: nagios-plugins (Ubuntu) = linux-meta (Ubuntu) ** Changed in: linux-meta (Ubuntu) Status: New = Opinion -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

Re: [Bug 1082767] Re: Configure-time ps command truncates command names

2012-12-16 Thread cyco
Am 16.12.12 01:31, schrieb Gerald Combs: That's because /sbin/getty is shorter than 15 characters, which means that /proc/pid/status isn't truncating it. that's true, but this is the same for apache2 as you reported first: $ LANG=C /usr/lib/nagios/plugins/check_procs -C apache2 PROCS OK: 7

[Bug 1082767] Re: Configure-time ps command truncates command names

2012-12-16 Thread Gerald Combs
This is indeed ultimately a kernel limitation, one which will likely never be fixed. Procps should probably be modified to use /proc/pid/cmdline instead of the first line of /proc/pid/status for command names since this can affect other programs as well as indicated by the Debian bug. In the mean

[Bug 1082767] Re: Configure-time ps command truncates command names

2012-12-16 Thread Holger Weiß
No, comm cannot be replaced with command without breaking things. However, the workaround you're suggesting is provided by check_procs -a (as this uses the format specifier args, which is just an alias for command). -- You received this bug notification because you are a member of Ubuntu Bugs,

[Bug 1082767] Re: Configure-time ps command truncates command names

2012-12-15 Thread cyco
reassigning to binary package -- 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

[Bug 1082767] Re: Configure-time ps command truncates command names

2012-12-15 Thread cyco
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

[Bug 1082767] Re: Configure-time ps command truncates command names

2012-12-15 Thread Gerald Combs
That's because /sbin/getty is shorter than 15 characters, which means that /proc/pid/status isn't truncating it. ** Bug watch added: Debian Bug tracker #513460 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=513460 -- You received this bug notification because you are a member of Ubuntu

[Bug 1082767] Re: Configure-time ps command truncates command names

2012-12-15 Thread Gerald Combs
...and this problem has been reported before: http://bugs.debian.org /cgi-bin/bugreport.cgi?bug=513460 -- 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:

[Bug 1082767] Re: Configure-time ps command truncates command names

2012-12-15 Thread cyco
reassigning to binary package -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1082767 Title: Configure-time ps command truncates command names To manage notifications about this bug go to:

[Bug 1082767] Re: Configure-time ps command truncates command names

2012-12-15 Thread cyco
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

[Bug 1082767] Re: Configure-time ps command truncates command names

2012-12-15 Thread Gerald Combs
That's because /sbin/getty is shorter than 15 characters, which means that /proc/pid/status isn't truncating it. ** Bug watch added: Debian Bug tracker #513460 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=513460 -- You received this bug notification because you are a member of Ubuntu

[Bug 1082767] Re: Configure-time ps command truncates command names

2012-12-15 Thread Gerald Combs
...and this problem has been reported before: http://bugs.debian.org /cgi-bin/bugreport.cgi?bug=513460 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1082767 Title: Configure-time ps command

[Bug 1082767] Re: Configure-time ps command truncates command names

2012-11-26 Thread Robie Basak
** Changed in: nagios-plugins (Ubuntu) Importance: Undecided = Medium -- 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

[Bug 1082767] Re: Configure-time ps command truncates command names

2012-11-26 Thread Robie Basak
** Changed in: nagios-plugins (Ubuntu) Importance: Undecided = Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1082767 Title: Configure-time ps command truncates command names To manage

[Bug 1082767] Re: Configure-time ps command truncates command names

2012-11-24 Thread Gerald Combs
** 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

[Bug 1082767] Re: Configure-time ps command truncates command names

2012-11-24 Thread Gerald Combs
** 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