hishamhm / htop

htop is an interactive text-mode process viewer for Unix systems. It aims to be a better 'top'.
GNU General Public License v2.0
5.84k stars 581 forks source link

'no perm' IO_RATE in Tiny Core Linux #938

Closed webbp closed 5 years ago

webbp commented 5 years ago

In Tiny Core Linux, htop shows 'no perm' for IO_RATE, IO_READ_RATE, and IO_WRITE_RATE. Likewise sudo htop. Same for htop 2.1.0 and htop 3.0.0beta5 .

I've not seen this exact issue in other distros. I want to fix the package. What could cause this? Tiny Core doesn't have systemd nor cgroups, and the root filesystem is a ramdisk.

4.19.10-tinycore64 #1999 SMP Tue Dec 18 15:18:54 UTC 2018 x86_64 GNU/Linux

wangqr commented 5 years ago

Can you provide the output of

cat /proc/$$/io
ls -lF /proc/$$/io
webbp commented 5 years ago

There is no /proc//io . A bit of research suggests that this is because of a missing kernel config: # CONFIG_TASK_XACCT is not set I put in a request to the Tiny Core devs to add CONFIG_TASK_XACCT=y Thanks for the info!