Date: Thu, 17 Jan 2013 14:15:53 -0800 From: Alfred Perlstein <bright@mu.org> To: freebsd-current@freebsd.org Subject: Re: [PATCH] Adjust 'ps H' to include kthread names by default Message-ID: <50F87819.3060605@mu.org> In-Reply-To: <201301171622.09624.jhb@freebsd.org> References: <201301171622.09624.jhb@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50F87819.3060605>