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 - 1.42
+++
Some time ago p_swptime was removed:
- p->p_swtime++;
if (p->p_stat == SSLEEP || p->p_stat == SSTOP)
p->p_slptime++;
But the comment still mentions it. What type p_swtime had and how
someone concluded it overflows in 45 days I do not know.
On 16:20:11, 1.03.16, Michal Mazurek wrote:
>
> Index: sys/kern/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
> --- sys/kern/sched_bsd.c 8 Nov 2015
Index: sys/kern/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
--- sys/kern/sched_bsd.c8 Nov 2015 20:45:57 - 1.42
+++ sys/kern/sched_bsd.c1