1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-23 11:18:54 +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 Revert r228650, and work around the clang false positive with printf 2011-12-17 22:32:00 +00:00
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 Replace index() and rindex() calls with strchr() and strrchr(). 2012-01-03 18:51:58 +00:00
inet.c - Updated TOE support in the kernel. 2012-06-19 07:34:13 +00:00
ipsec.c
ipx.c Spelling fixes for usr.bin/ 2011-12-30 11:02:40 +00:00
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 In ng_socket(4) expose less kernel internals to userland. This commit 2012-01-23 15:39:45 +00:00
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