From owner-cvs-all@FreeBSD.ORG Sun Nov 20 00:38:07 2005 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5340F16A41F; Sun, 20 Nov 2005 00:38:07 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 27A8443D49; Sun, 20 Nov 2005 00:38:07 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id jAK0c6Zn052183; Sun, 20 Nov 2005 00:38:07 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id jAK0c6PR052182; Sun, 20 Nov 2005 00:38:06 GMT (envelope-from rwatson) Message-Id: <200511200038.jAK0c6PR052182@repoman.freebsd.org> From: Robert Watson Date: Sun, 20 Nov 2005 00:38:06 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/usr.bin/netstat main.c mbuf.c netstat.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Nov 2005 00:38:07 -0000 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