Date: Sun, 17 May 2009 12:30:25 +0000 (UTC) From: Ed Schouten <ed@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/kern tty_info.c Message-ID: <200905171230.n4HCUYmI012227@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
ed 2009-05-17 12:30:25 UTC FreeBSD src repository Modified files: sys/kern tty_info.c Log: SVN rev 192250 on 2009-05-17 12:30:25Z by ed Several cleanups to tty_info(), better known as Ctrl-T. - Only pick up PROC_LOCK once, which means we can drop the PGRP_LOCK right after picking up PROC_LOCK for the first time. - Print the process real time, making it consistent with tools like time(1). - Use `p' and `td' to reference the process/thread we are going to print. Only use pick-variables inside the loops. We already did this for the threads, but not the processes. Revision Changes Path 1.7 +26 -26 src/sys/kern/tty_info.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905171230.n4HCUYmI012227>