K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-04-10T22:49:39.000000Z K 7 svn:log V 1104 Merge Makefile:1.1, procstat.1:1.1, procstat.c:1.1, procstat.h:1.1, procstat_args.c:1.1, procstat_basic.c:1.1, procstat_bin.c:1.1, procstat_cred.c:1.1, procstat_files.c:1.1, procstat_kstack.c:1.1, procstat_threads.c:1.1, and procstat_vm.c:1.1 from HEAD to RELENG_7: 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 END