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

看板FB_current作者時間12年前 (2013/04/27 13:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串4/4 (看更多)
On Thu, Jan 17, 2013 at 2:15 PM, Alfred Perlstein <bright@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@gmail.com _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
文章代碼(AID): #1HUrkux9 (FB_current)
文章代碼(AID): #1HUrkux9 (FB_current)