I have been trying to get kernel thread processor times for graphical monitoring, but the output of
How can I get these names with processor times with ps() or with something else from the command line? I would like to get the full thread name and the processor time in seconds that was used by this thread.
ps -AHo comm,time is cutting thread names:
Code:
kernel/zio_write_issue_ 0:31,38
kernel/zio_write_issue_ 0:31,23
kernel/zio_write_issue_ 0:31,19
kernel/zio_write_issue_ 0:31,39
kernel/zio_write_issue_ 0:00,52
kernel/zio_write_issue_ 0:00,53
kernel/zio_write_issue_ 0:00,55
kernel/zio_write_issue_ 0:00,54
kernel/zio_write_issue_ 0:00,52