1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-22 11:17:19 +00:00
freebsd/usr.bin/netstat
Alfred Perlstein 504a74fa90 Show the number of times we block waiting for mbufs.
Machines can stall out because mbufs are low, however sometimes we won't
see "requests denied", instead we see user land processes or kernel threads
blocking waiting for mbufs because they set M_WAIT.  These consumers do not
see errors, only stalling.

Unfortunately until now, netstat did not export this information
so you could have experienced an mbuf shortage and have no way of
seeing it unless you happen to run netstat at the exact time of the
shortage and see "in use" = "max".

By exporting the number of times processes are blocked, we can
effectively see how often non-interrupt context threads are effectively
"denied".

MFC after: 2 weeks
2012-10-25 02:12:05 +00:00
..
atalk.c
bpf.c
if.c Merge the projects/pf/head branch, that was worked on for last six months, 2012-09-08 06:41:54 +00:00
inet6.c
inet.c - Updated TOE support in the kernel. 2012-06-19 07:34:13 +00:00
ipsec.c
ipx.c
main.c
Makefile Allow netstat to be build if INET is not defined in the kernel. 2012-07-16 06:43:04 +00:00
mbuf.c Show the number of times we block waiting for mbufs. 2012-10-25 02:12:05 +00:00
mroute6.c
mroute.c
netgraph.c
netisr.c
netstat.1
netstat.h
pfkey.c
route.c Remove unused variable. Newer versions of gcc care. 2012-10-22 02:59:59 +00:00
sctp.c Allow netstat to be build if INET is not defined in the kernel. 2012-07-16 06:43:04 +00:00
unix.c