[Pkg-monitoring-maintainers] Bug#870238: mon: loadaverage sorts CPU usage incorrectly

Russell Coker russell at coker.com.au
Mon Jul 31 06:52:18 UTC 2017

Package: mon
Version: 1.3.0-1
Severity: normal

 9.4 13855 root     qemu-system-x86_64 -
 1.4 14113 root     qemu-system-x86_64 -
 5.3 14675 root     qemu-system-x86_64 -

Above is part of the output of a loadavg alert, it shows a 1.4% CPU process
ahead of a 5.3% CPU process and it could miss listing some processes that use
more than 1.4% due to the incorrect sorting.

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE= (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages mon depends on:
ii  adduser              3.115
ii  libc6                2.24-12
ii  libtime-period-perl  1.20-8.2
ii  mon-client           1.2.0-2

Versions of packages mon recommends:
ii  bc                               1.06.95-9+b3
pn  fping                            <none>
pn  libauthen-pam-perl               <none>
ii  libcgi-pm-perl                   4.36-1
pn  libcrypt-ssleay-perl             <none>
ii  libfilesys-diskspace-perl        0.05-16.2
pn  libmail-imapclient-perl          <none>
ii  libnet-dns-perl                  1.10-1
pn  libnet-ldap-perl                 <none>
pn  libnet-telnet-perl               <none>
ii  libproc-processtable-perl        0.53-2+b2
pn  libsnmp-perl                     <none>
pn  libstatistics-descriptive-perl   <none>
pn  libtime-parsedate-perl           <none>
ii  perl-modules-5.26 [libnet-perl]  5.26.0-4
ii  swaks                            20170101.0-1

Versions of packages mon suggests:
ii  mon-contrib  1.0+dfsg-3+nmu1

-- Configuration Files:
/etc/mon/mon.cf changed [not included]

-- no debconf information

More information about the Pkg-monitoring-maintainers mailing list