]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix percentages by using long long to hold values for 'space',
authoralfred <alfred@FreeBSD.org>
Fri, 26 Dec 2003 18:47:41 +0000 (18:47 +0000)
committeralfred <alfred@FreeBSD.org>
Fri, 26 Dec 2003 18:47:41 +0000 (18:47 +0000)
commit31fadac6914236d1695ba1af8d3060ac428a5c20
tree40c40b301aeb952fc2f25955047a754e18f6a962
parent0c878eef027c8107cc08f8198c283e3abeb31c53
Fix percentages by using long long to hold values for 'space',
overflow was breaking a bunch of the stats, specifically the
percentage displayed for wired memory.

Fix the output for current/peak/max lines, I forgot to output the types.
161/320/51200 (current/peak/max):
-to-
639/25696/51200 mbufs in use (current/peak/max):
usr.bin/netstat/mbuf.c