mstat fails to run on 22.04 and later due to switching to cgroups v2. It fails with the following error message:
2022/12/06 11:04:10 internal error: Read: EOF/0/[]byte{0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}
2022/12/06 11:04:10 NewPoller: poll: cg.Stat: returned nil Memory stats
However, there is currently a workaround. However, the workaround will require modifying your bootloader to force it to boot with cgroups v1.
mstat fails to run on 22.04 and later due to switching to cgroups v2. It fails with the following error message:
However, there is currently a workaround. However, the workaround will require modifying your bootloader to force it to boot with cgroups v1.
/etc/default/grub.GRUB_CMDLINE_LINUX=""withGRUB_CMDLINE_LINUX="systemd.unified_cgroup_hierarchy=0".sudo update-grubto update your bootloader.