Bug#921280: systemd-cgtop no longer shows memory usage

Anthony DeRobertis anthony at derobert.net
Sun Feb 3 21:43:41 GMT 2019


Package: systemd
Version: 240-5
Severity: normal
File: /usr/bin/systemd-cgtop

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

systemd-cgtop now displays '-' for all memory usage columns. Not sure
exactly when it stopped working, I had it running in a terminal for a
long time (so it was an old version). When I finally restarted it, it no
longer worked. Even after rebooting the machine, it continues to not
work.

Control Group                                                             Tasks   %CPU   Memory  Input/s Output/s
/                                                                           781   11.6        -        -        -
/init.scope                                                                   1      -        -        -        -
/system.slice                                                               238    1.2        -        -        -
/system.slice/acpid.service                                                   1    0.0        -        -        -
/system.slice/apache-htcacheclean.service                                     1    0.0        -        -        -
/system.slice/apache2.service                                                11    0.0        -        -        -
/system.slice/atd.service                                                     1      -        -        -        -
⋮

Memory accounting information shows fine in `systemctl status`, though:

$ systemctl status atd.service
● atd.service - Deferred execution scheduler
   Loaded: loaded (/lib/systemd/system/atd.service; enabled; vendor preset: enab
   Active: active (running) since Sun 2019-02-03 16:27:07 EST; 13min ago
     Docs: man:atd(8)
  Process: 1503 ExecStartPre=/usr/bin/find /var/spool/cron/atjobs -type f -name 
 Main PID: 1565 (atd)
    Tasks: 1 (limit: 4915)
   Memory: 1.3M
      CPU: 4ms
   CGroup: /system.slice/atd.service
           └─1565 /usr/sbin/atd -f

Feb 03 16:27:06 Watt systemd[1]: Starting Deferred execution scheduler...
Feb 03 16:27:07 Watt systemd[1]: Started Deferred execution scheduler.

I'm booting with systemd.unified_cgroup_hierarchy=1 if it matters.


- -- Package-specific info:

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

Kernel: Linux 4.19.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages systemd depends on:
ii  adduser          3.118
ii  libacl1          2.2.52-3+b1
ii  libapparmor1     2.13.2-7
ii  libaudit1        1:2.8.4-2
ii  libblkid1        2.33.1-0.1
ii  libc6            2.28-5
ii  libcap2          1:2.25-1.2
ii  libcryptsetup12  2:2.0.6-1
ii  libgcrypt20      1.8.4-4
ii  libgnutls30      3.6.6-2
ii  libgpg-error0    1.33-3
ii  libidn11         1.33-2.2
ii  libip4tc0        1.8.2-3
ii  libkmod2         25-2
ii  liblz4-1         1.8.3-1
ii  liblzma5         5.2.2-1.3
ii  libmount1        2.33.1-0.1
ii  libpam0g         1.1.8-4
ii  libseccomp2      2.3.3-3
ii  libselinux1      2.8-1+b1
ii  libsystemd0      240-5
ii  mount            2.33.1-0.1
ii  util-linux       2.33.1-0.1

Versions of packages systemd recommends:
ii  dbus            1.12.12-1
ii  libpam-systemd  240-5

Versions of packages systemd suggests:
ii  policykit-1        0.105-25
pn  systemd-container  <none>

Versions of packages systemd is related to:
pn  dracut           <none>
ii  initramfs-tools  0.132
ii  udev             240-5

- -- Configuration Files:
/etc/systemd/system.conf changed:
[Manager]
DefaultCPUAccounting=yes
DefaultMemoryAccounting=yes


- -- no debconf information

-----BEGIN PGP SIGNATURE-----

iHMEARECADMWIQTlAc7j4DAtSNRJJ0z7P4jCVepZ/gUCXFdgiBUcYW50aG9ueUBk
ZXJvYmVydC5uZXQACgkQ+z+IwlXqWf50PQCdEhQOhXiA7v/qi/IRdbVnovWzrMMA
n0zKtwj5lJ8BazDXSybxJw2JAX7/
=Cs2T
-----END PGP SIGNATURE-----


More information about the Pkg-systemd-maintainers mailing list