Tiny Core Linux

Tiny Core Base => TCB Talk => Topic started by: webb on August 23, 2019, 03:40:03 AM

Title: Request: add kernel config CONFIG_TASK_XACCT=y
Post by: webb on August 23, 2019, 03: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
Title: Re: Request: add kernel config CONFIG_TASK_XACCT=y
Post by: curaga on August 23, 2019, 12:01:38 PM
Per the description, collecting those extra stats has some overhead. Should be fine for x64 though.