From owner-cvs-src@FreeBSD.ORG Mon Dec 5 13:04:01 2005 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BE63016A41F; Mon, 5 Dec 2005 13:04:01 +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 224BC43D55; Mon, 5 Dec 2005 13:04:01 +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 jB5D41xi025492; Mon, 5 Dec 2005 13:04:01 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id jB5D40fK025491; Mon, 5 Dec 2005 13:04:00 GMT (envelope-from rwatson) Message-Id: <200512051304.jB5D40fK025491@repoman.freebsd.org> From: Robert Watson Date: Mon, 5 Dec 2005 13:04:00 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/tools/tools/umastat Makefile umastat.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Dec 2005 13:04:01 -0000 rwatson 2005-12-05 13:04:00 UTC FreeBSD src repository Added files: tools/tools/umastat Makefile umastat.c Log: Add a simple KVM tool to dump the kernel state of UMA, including walking the keg/zone lists, summarizing cache state, and walking bucket lists in each zone. I seem to get inconsistent results on SMP, possibly due to local header problems, but it seems to work quite well on UP. This tool requires sufficient privilege to read /dev/mem (or a core dump), and is for debugging purposes rather than administrative monitoring purposes (use vmstat instead). Revision Changes Path 1.1 +11 -0 src/tools/tools/umastat/Makefile (new) 1.1 +370 -0 src/tools/tools/umastat/umastat.c (new)