From owner-freebsd-stable@FreeBSD.ORG Thu Apr 10 21:49:57 2008 Return-Path: Delivered-To: stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5368F106564A for ; Thu, 10 Apr 2008 21:49:57 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.freebsd.org (Postfix) with ESMTP id 17F0E8FC26 for ; Thu, 10 Apr 2008 21:49:57 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id CFBC346C0A for ; Thu, 10 Apr 2008 17:49:55 -0400 (EDT) Date: Thu, 10 Apr 2008 22:49:55 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: stable@FreeBSD.org Message-ID: <20080410224816.B70223@fledge.watson.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Subject: HEADS UP: procstat(1) MFC to RELENG_7 in progress X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Apr 2008 21:49:57 -0000 FYI: I've begun the MFC of procstat(1) from HEAD to RELENG_7. This requires merging a number of kernel changes, and then the command line tool, so it will occur over the next day or so. I'll send out a further e-mail when the merge is done. Robert N M Watson Computer Laboratory University of Cambridge ---------- Forwarded message ---------- Date: Sun, 2 Dec 2007 23:38:45 +0000 (GMT) From: Robert Watson To: current@FreeBSD.org Cc: hackers@FreeBSD.org Subject: procstat(1) committed to CVS HEAD Dear all, (and FYI to hackers@ where I previousl sought feedback): I've now committed procstat(1) to CVS. I've found it to be quite a helpful debugging tool, am particularly pleased with -k/-kk, and would welcome feedback and ideas on further improving it. Robert N M Watson Computer Laboratory University of Cambridge ---------- Forwarded message ---------- Date: Sun, 2 Dec 2007 23:31:46 +0000 (UTC) From: Robert Watson To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/procstat Makefile procstat.1 procstat.c procstat.h procstat_args.c procstat_basic.c procstat_bin.c procstat_cred.c procstat_files.c procstat_kstack.c procstat_threads.c procstat_vm.c rwatson 2007-12-02 23:31:46 UTC FreeBSD src repository Added files: usr.bin/procstat Makefile procstat.1 procstat.c procstat.h procstat_args.c procstat_basic.c procstat_bin.c procstat_cred.c procstat_files.c procstat_kstack.c procstat_threads.c procstat_vm.c Log: Add procstat(1), a process inspection utility. This provides both some of the missing functionality from procfs(4) and new functionality for monitoring and debugging specific processes. procstat(1) operates in the following modes: -b Display binary information for the process. -c Display command line arguments for the process. -f Display file descriptor information for the process. -k Display the stacks of kernel threads in the process. -s Display security credential information for the process. -t Display thread information for the process. -v Display virtual memory mappings for the process. Further revision and modes are expected. Testing, ideas, etc: cognet, sam, Skip Ford Wesley Shields Revision Changes Path 1.1 +15 -0 src/usr.bin/procstat/Makefile (new) 1.1 +114 -0 src/usr.bin/procstat/procstat.1 (new) 1.1 +252 -0 src/usr.bin/procstat/procstat.c (new) 1.1 +46 -0 src/usr.bin/procstat/procstat.h (new) 1.1 +74 -0 src/usr.bin/procstat/procstat_args.c (new) 1.1 +64 -0 src/usr.bin/procstat/procstat_basic.c (new) 1.1 +68 -0 src/usr.bin/procstat/procstat_bin.c (new) 1.1 +57 -0 src/usr.bin/procstat/procstat_cred.c (new) 1.1 +303 -0 src/usr.bin/procstat/procstat_files.c (new) 1.1 +198 -0 src/usr.bin/procstat/procstat_kstack.c (new) 1.1 +138 -0 src/usr.bin/procstat/procstat_threads.c (new) 1.1 +130 -0 src/usr.bin/procstat/procstat_vm.c (new)