WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Request: add kernel config CONFIG_TASK_XACCT=y  (Read 7200 times)

Offline webb

  • Jr. Member
  • **
  • Posts: 52
Request: add kernel config CONFIG_TASK_XACCT=y
« on: August 23, 2019, 06:40:03 AM »
There's no /proc/<PID>/io, which is required for, e.g., htop to show per-process io stats. Looks like the problem is with the kernel configuration: these are required for /prod/<PID>/io:

CONFIG_TASKSTATS=y
CONFIG_TASK_XACCT=y
CONFIG_TASK_IO_ACCOUNTING=y
(ref: https://stackoverflow.com/a/39490917/1563960)

but this is the TC 10.1 x86_64 kernel config:

CONFIG_TASKSTATS=y
CONFIG_TASK_DELAY_ACCT=y
# CONFIG_TASK_XACCT is not set

I'd like to request adding kernel config CONFIG_TASK_XACCT=y to TC x86_64 kernel config.

Many thanks,
Webb

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11049
Re: Request: add kernel config CONFIG_TASK_XACCT=y
« Reply #1 on: August 23, 2019, 03:01:38 PM »
Per the description, collecting those extra stats has some overhead. Should be fine for x64 though.
The only barriers that can stop you are the ones you create yourself.