[systemd-devel] systemd-cgtop doesn't show Input/Output

Vladimir Mokrozub mogaba2009 at gmail.com
Mon Dec 5 06:38:18 UTC 2022


 OS: Ubuntu 20.04

$ systemctl --version
systemd 245 (245.4-4ubuntu3.19)
+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP
+GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN
+PCRE2 default-hierarchy=hybrid

systemd-cgtop always has "-" in both Input/s and Output/s columns. There
are no spikes, even under a high disk load.
I was testing it with "dd if=/dev/sda of=/dev/null". Here's the output:

Control Group    Tasks   %CPU   Memory  Input/s Output/s
/                          214     101.5       3.7G           -        -
user.slice               15       99.6       2.9G           -        -
system.slice          97         0.4     95.4M           -        -

I tried the following settings in /etc/systemd/system.conf:
DefaultIOAccounting=yes
DefaultBlockIOAccounting=yes

But it didn't help.
Any help would be appreciated.

--
Vladimir Mokrozub
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20221205/8990a783/attachment.htm>


More information about the systemd-devel mailing list