freebsd-skq/usr.bin/systat
bmilekic 5b4fe25981 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
..
cmds.c
cmdtab.c Display -tcp w/o load average so that all statistics fits on a 80x25 screen. 2001-05-31 07:14:52 +00:00
devs.c Convert systat(1) to use the new devstat interface. 2001-09-06 04:06:12 +00:00
devs.h
extern.h
fetch.c Replace a use of the hw.nintr sysctl as it has just gone away, cast 2001-06-01 13:29:19 +00:00
icmp.c
iostat.c Convert systat(1) to use the new devstat interface. 2001-09-06 04:06:12 +00:00
ip.c
keyboard.c
main.c
Makefile
mbufs.c Re-enable mbtypes statistics in the mbuf allocator. I disabled these 2001-09-30 01:58:39 +00:00
mode.c
mode.h
netcmds.c
netstat.c
pigs.c
swap.c
systat.1 Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
systat.h Replace a use of the hw.nintr sysctl as it has just gone away, cast 2001-06-01 13:29:19 +00:00
tcp.c Display -tcp w/o load average so that all statistics fits on a 80x25 screen. 2001-05-31 07:14:52 +00:00
vmstat.c Convert systat(1) to use the new devstat interface. 2001-09-06 04:06:12 +00:00