]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r360919,r360929,r361084:
authorMichael Reifenberger <mr@FreeBSD.org>
Sun, 7 Jun 2020 16:42:03 +0000 (16:42 +0000)
committerMichael Reifenberger <mr@FreeBSD.org>
Sun, 7 Jun 2020 16:42:03 +0000 (16:42 +0000)
commit65d1fd13ac2182f7ca0c223bb723fba6d780740f
tree0393a61db481d41270cd4f8581fde997a34ac815
parentcda4eb5258a92524067542937684fef4a7fe0134
MFC r360919,r360929,r361084:

Patch systat -zarc to display cumulative rate and round down large numbers by SI units

Introduce sysputpage() to display large page size with human readable format.
  Using UI units allows to fit larger numbers in columns.
  Stop calling v_page_size - this is a value that doesn't change at runtime.
  Renamed WINDOW *wnd to *wd to avoid conflict with global *wnd variable.
  Use bit-shift to convert page size to byte.

PR: 237664, 246458
Submitted by: ota@j.email.ne.jp
usr.bin/systat/Makefile
usr.bin/systat/extern.h
usr.bin/systat/fetch.c
usr.bin/systat/main.c
usr.bin/systat/sysput.c [new file with mode: 0644]
usr.bin/systat/vmstat.c
usr.bin/systat/zarc.c