Re: [PATCH] Adjust 'ps H' to include kthread names by default

From: Alfred Perlstein <bright_at_mu.org>
Date: Thu, 17 Jan 2013 14:15:53 -0800
On 1/17/13 1:22 PM, John Baldwin wrote:
> Running 'ps axH' on a current system results in a lot of kthreads with not
> very useful names (unless you add -c):
>
>    PID  TT  STAT      TIME COMMAND
>      0  ??  DLs    1:09.52 [kernel]
>      0  ??  DLs    0:00.00 [kernel]
>      0  ??  DLs    0:00.00 [kernel]
>      0  ??  DLs    0:00.00 [kernel]
>      0  ??  DLs    0:00.00 [kernel]
>      0  ??  DLs    0:00.00 [kernel]
>      0  ??  DLs    0:00.00 [kernel]
>      0  ??  DLs    0:03.82 [kernel]
>      0  ??  DLs    1:15.14 [kernel]
>      0  ??  DLs    0:00.00 [kernel]
>      0  ??  DLs   39:24.55 [kernel]
>      0  ??  DLs    0:00.04 [kernel]
>
> This patch changes this to:
>
>    PID  TT  STAT      TIME COMMAND
>      0  ??  DLs    1:09.53 [kernel/swapper]
>      0  ??  DLs    0:00.00 [kernel/firmware tas]
>      0  ??  DLs    0:00.00 [kernel/ffs_trim tas]
>      0  ??  DLs    0:00.00 [kernel/acpi_task_0]
>      0  ??  DLs    0:00.00 [kernel/acpi_task_1]
>      0  ??  DLs    0:00.00 [kernel/acpi_task_2]
>      0  ??  DLs    0:00.00 [kernel/aiod_bio tas]
>      0  ??  DLs    0:03.82 [kernel/thread taskq]
>      0  ??  DLs    1:15.19 [kernel/nvidia taskq]
>      0  ??  DLs    0:00.00 [kernel/kqueue taskq]
>      0  ??  DLs   39:26.82 [kernel/em0 taskq]
>      0  ??  DLs    0:00.04 [kernel/mca taskq]
Nice!   Looks good.

-Alfred
Received on Thu Jan 17 2013 - 21:15:56 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:34 UTC