Date: Sun, 20 Nov 2005 00:38:06 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/netstat main.c mbuf.c netstat.h Message-ID: <200511200038.jAK0c6PR052182@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2005-11-20 00:38:06 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) usr.bin/netstat main.c mbuf.c netstat.h Log: Merge main.c:1.80, mbuf.c:1.45, netstat.h:1.46 from HEAD to RELENG_6: Modify netstat -mb to use libmemstat when accessing a core dump or live kernel memory and not using sysctl. Previously, libmemstat was used only for the live kernel via sysctl paths. This results in netstat output becoming both more consistent between core dumps and the live kernel, and also more information in the core dump case than previously (i.e., mbuf cache information). Statistics relating to sfbufs still rely on a kvm descriptor as they are not currently exposed via libmemstat. netstat -m operating on a core is still unable to print certain sfbuf stats available on the live kernel. Revision Changes Path 1.72.2.4 +2 -12 src/usr.bin/netstat/main.c 1.42.8.2 +51 -164 src/usr.bin/netstat/mbuf.c 1.41.2.3 +1 -2 src/usr.bin/netstat/netstat.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200511200038.jAK0c6PR052182>