Dear all, (and FYI to hackers_at_ 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_at_FreeBSD.org> To: src-committers_at_FreeBSD.org, cvs-src_at_FreeBSD.org, cvs-all_at_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)Received on Sun Dec 02 2007 - 22:38:56 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:23 UTC