Execution of the 'iotop' command reports 'CONFIG_TASK_DELAY_ACCT' is not enabled in the kernel.

Solution Verified - Updated -

Issue

  • Execution of the iotop -p command with an invalid or the kernel thread reports 'CONFIG_TASK_DELAY_ACCT not enabled in kernel'.
# iotop -p <invalid-pid>

# ps aux | grep 100000
root      6333  0.0  0.0 103260   844 pts/0    S+   15:03   0:00 grep 100000

# iotop -p 100000
Total DISK READ: 0.00 B/s | Total DISK WRITE: 0.00 B/s
  TID  PRIO  USER     DISK READ  DISK WRITE  SWAPIN     IO>    COMMAND                                                                                                                        

CONFIG_TASK_DELAY_ACCT not enabled in kernel, cannot determine SWAPIN and IO %

# ps -p 2 
  PID TTY          TIME CMD
    2 ?        00:00:00 kthreadd

# iotop -p 2
Total DISK READ: 0.00 B/s | Total DISK WRITE: 0.00 B/s
  TID  PRIO  USER     DISK READ  DISK WRITE  SWAPIN     IO>    COMMAND                                                                                                                        
    2 be/4 root        0.00 B/s    0.00 B/s  ?unavailable?  [kthreadd]

CONFIG_TASK_DELAY_ACCT not enabled in kernel, cannot determine SWAPIN and IO %

Environment

  • Red Hat Enterprise Linux Server release 6/7/8/9
    • iotop

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content