freebsd-skq/usr.bin/netstat
Bosko Milekic 70a61707f6 Re-enable mbtypes statistics in the mbuf allocator. I disabled these
when I changed the allocator bits. This implements per-CPU mbtypes
stats by keeping net number of decrements/increments of a given mbtype
per-CPU and then summing all of the per-CPU mbtypes to produce the total
net number of allocated mbufs of the given mbtype.
Counters are carefully balanced to avoid/prevent underflows/overflows.

mbtypes stats are re-enabled with the idea that we may occasionally
(although very rarely) observe slight inconsistencies in the stat
reporting. Most of the time, we should be fine, though.

Also make appropriate modifications to netstat(1) and systat(1) to do
the necessary reporting.

Submitted by: Jiangyi Liu <jyliu@163.net>
2001-09-30 01:58:39 +00:00
..
atalk.c Don't misuse the return from snprintf. 2001-08-20 11:58:05 +00:00
if.c Implement the ``-f address_family'' filter for -i. 2001-09-11 17:14:33 +00:00
inet6.c Deprecate the -l option in favour of more natural -W. 2001-09-07 12:00:50 +00:00
inet.c Don't print stray socket addresses (-A) with the listen queue display (-L). 2001-09-07 11:06:28 +00:00
ipsec.c Removed duplicate VCS ID tags, as per style(9). 2001-08-13 14:06:34 +00:00
ipx.c remove warnings 2001-06-15 23:55:45 +00:00
iso.c remove warnings 2001-06-15 23:55:45 +00:00
main.c Implement the ``-f address_family'' filter for -i. 2001-09-11 17:14:33 +00:00
Makefile add the option -S for printing port numbers symbolically but addresses 2001-06-15 00:25:44 +00:00
mbuf.c Re-enable mbtypes statistics in the mbuf allocator. I disabled these 2001-09-30 01:58:39 +00:00
mroute6.c If -s -s is specified, don't show zero multicast routing statistics. 2001-09-07 12:59:30 +00:00
mroute.c If -s -s is specified, don't show zero multicast routing statistics. 2001-09-07 12:59:30 +00:00
netgraph.c remove warnings 2001-06-15 23:55:45 +00:00
netstat.1 Implement the ``-f address_family'' filter for -i. 2001-09-11 17:14:33 +00:00
netstat.h Deprecate the -l option in favour of more natural -W. 2001-09-07 12:00:50 +00:00
ns.c remove warnings 2001-06-15 23:55:45 +00:00
route.c Deprecate the -l option in favour of more natural -W. 2001-09-07 12:00:50 +00:00
unix.c remove K&R support 2001-06-15 23:35:13 +00:00