bad4d172b4
them unsigned I made the possible overflows hard to detect, and it only saved 1 bit which isn't principal, even less now that the underlying issue with the total of virtual memory has been fixed. (For the record, it will overflow with >=2T of VM total, with 32-bit ints used to keep counters in pages.) - While here, fix printing of other "struct vmtotal" members such as t_rq, t_dw, t_pw, and t_sw as they are also signed. Reviewed by: bde MFC after: 3 days |
||
---|---|---|
.. | ||
Makefile | ||
README | ||
vm.c |
1998.02.12 This is a small replacement for vmstat(8) program. It allows you to measure current memory utilisation. The same info is available via sysctl(8) program, but unfortunately this particular variable doesn't have its handler, and consequently it is not displayed in stock version of sysctl(8). <abial@freebsd.org> $FreeBSD$