Date: Fri, 11 Apr 2008 12:10:15 +0100 (BST) From: Robert Watson <rwatson@FreeBSD.org> To: stable@FreeBSD.org Subject: Re: HEADS UP: procstat(1) MFC to RELENG_7 in progress Message-ID: <20080411120832.P74620@fledge.watson.org> In-Reply-To: <20080410224816.B70223@fledge.watson.org> References: <20080410224816.B70223@fledge.watson.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 10 Apr 2008, Robert Watson wrote: > 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. I believe that the MFC is now complete. If you run into any problems with this tool, please file a PR and I'll try to address it. Two areas where I would like to do future work, and would also greatfully accept contributions, are: (1) Adding libkvm support, allowing procstat to be used on crashdumps. (2) Adding a signal information dump mode, providing information on what signal handlers (etc) have been set to non-default dispositions. (3) Add user thread stack tracing support similar to kernel thread stack tracing support. Robert N M Watson Computer Laboratory University of Cambridge > > Robert N M Watson > Computer Laboratory > University of Cambridge > > ---------- Forwarded message ---------- > Date: Sun, 2 Dec 2007 23:38:45 +0000 (GMT) > From: Robert Watson <rwatson@FreeBSD.org> > 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 <rwatson@FreeBSD.org> > 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 <skip at menantico dot com> > Wesley Shields <wxs at atarininja dot org> > > 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) > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080411120832.P74620>