aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/procstat/procstat_basic.c
Commit message (Collapse)AuthorAgeFilesLines
* Include param.h instead of types.h before user.h so that the nestedRobert Watson2008-12-291-1/+1
| | | | | | | | | include of param.h can be removed from audit.h. MFC after: 3 weeks Notes: svn path=/head/; revision=186567
* WARNS fixes: mainly constness and avoid comparing signed withDavid Malone2008-02-081-1/+1
| | | | | | | | unsigned by making array indicies unsigned. Also note one or two unused parameters. Notes: svn path=/head/; revision=176107
* Add procstat(1), a process inspection utility. This provides both someRobert Watson2007-12-021-0/+64
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> Notes: svn path=/head/; revision=174199