]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Introduce sysputpage() to display large page size with human readable format.
authormr <mr@FreeBSD.org>
Fri, 15 May 2020 17:37:08 +0000 (17:37 +0000)
committermr <mr@FreeBSD.org>
Fri, 15 May 2020 17:37:08 +0000 (17:37 +0000)
commit2c713deda5c363659cc501f811ccff5700cb8178
tree3db99b9442e6b0e366054bc807502e74af85ce4c
parent911aeff04c88b3ccfa9214159c3f3d5f5aaf5a64
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:             246458
Submitted by:   ota@j.email.ne.jp
MFC after: 2 weeks
Differential Revision:  D24834
usr.bin/systat/extern.h
usr.bin/systat/fetch.c
usr.bin/systat/sysput.c
usr.bin/systat/vmstat.c