You are not logged in.
According to iotop's page:
It requires Python ≥ 2.7 and a Linux kernel ≥ 2.6.20 with the TASK_DELAY_ACCT CONFIG_TASKSTATS, TASK_IO_ACCOUNTING and CONFIG_VM_EVENT_COUNTERS options on.
The current repo kernel (linux-6.9.3-1) as I write this) ships with these 4 enabled:
% for i in CONFIG_TASK_DELAY_ACCT CONFIG_TASKSTATS CONFIG_TASK_IO_ACCOUNTING CONFIG_VM_EVENT_COUNTERS; do ; zgrep $i /proc/config.gz ; done
CONFIG_TASK_DELAY_ACCT=y
CONFIG_TASKSTATS=y
CONFIG_TASK_IO_ACCOUNTING=y
CONFIG_VM_EVENT_COUNTERS=y... yet I am still getting the following warn when running iotop:
CONFIG_TASK_DELAY_ACCT not enabled in kernel, cannot determine SWAPIN and IO %What am I missing?
Last edited by graysky (2024-06-07 21:19:45)
Offline
Offline
Thanks loqs - simply switching from iotop-0.6-11 to iotop-c-1.26-2 which includes the commit you linked fixes the issue.
Offline