mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-20 11:11:24 +00:00
9e53fb7dc8
calculations. Long longs should never be used, since they break compiling with C90 compilers and don't necessarily work any better than longs for avoiding overflow. Print percentages with another digit of precision since they can be small and this is easy to do now that the format is floating point. Restored some more of the old -m output: Print the percentage of allocated memory that is in use. This is the amount of memory in active mbufs and mbuf clusters relative to the total amount of memory soft-allocated for mbufs and mbuf clusters. Print the percentage of allocated memory that is wired (cached). The old mbuf allocator never freed memory so printing this value wasn't useful. A previous version of netstat for the new allocator printed the in-use amount as a percentage of the wired amount. Fixed some nearby style bugs (excessive parenthesization and a redundant return). Reviewed by: alfred |
||
---|---|---|
.. | ||
atalk.c | ||
if.c | ||
inet6.c | ||
inet.c | ||
ipsec.c | ||
ipx.c | ||
main.c | ||
Makefile | ||
mbuf.c | ||
mroute6.c | ||
mroute.c | ||
netgraph.c | ||
netstat.1 | ||
netstat.h | ||
route.c | ||
unix.c |