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

From: Kevin Oberman <kob6558_at_gmail.com>
Date: Sun, 20 Jan 2013 13:19:26 -0800
On Thu, Jan 17, 2013 at 2:15 PM, Alfred Perlstein <bright_at_mu.org> wrote:
> 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.

Thank you so much, John! This has been annoying me for years.
-- 
R. Kevin Oberman, Network Engineer
E-mail: kob6558_at_gmail.com
Received on Sun Jan 20 2013 - 20:19:27 UTC

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