top, vmstat, who, rwhod - Use CLOCK_UPTIME to calculate uptime
authorMatthew Dillon <dillon@apollo.backplane.com>
Sun, 13 Dec 2020 02:26:28 +0000 (18:26 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sun, 13 Dec 2020 02:26:28 +0000 (18:26 -0800)
commitda0d35cf5f1c213e98d1d2ab31bf1d7794d56691
tree3f570306b963cab82161e3db06b02f1a96b1de06
parentc360b54296ce8502c9a0526144ead6f9eda89b71
top, vmstat, who, rwhod - Use CLOCK_UPTIME to calculate uptime

* Use CLOCK_UPTIME to calculate the system uptime instead of
  subtracting current real time from boot real time, which could
  get muffed up by setting the time.
usr.bin/top/display.c
usr.bin/top/display.h
usr.bin/top/m_dragonfly.c
usr.bin/top/machine.h
usr.bin/top/top.c
usr.bin/vmstat/vmstat.c
usr.bin/who/who.c
usr.sbin/rwhod/rwhod.c