It's also used in top, systat, and tty status (^T).

Index: sched_bsd.c
===================================================================
RCS file: /cvs/src/sys/kern/sched_bsd.c,v
retrieving revision 1.42
diff -u -p -r1.42 sched_bsd.c
--- sched_bsd.c 8 Nov 2015 20:45:57 -0000       1.42
+++ sched_bsd.c 7 Mar 2016 17:44:30 -0000
@@ -233,7 +233,7 @@ schedcpu(void *arg)
                        continue;
                SCHED_LOCK(s);
                /*
-                * p_pctcpu is only for ps.
+                * p_pctcpu is only for diagnostic tools such as ps.
                 */
 #if    (FSHIFT >= CCPU_SHIFT)
                p->p_pctcpu += (phz == 100)?

-- 
Michal Mazurek

Reply via email to