summaryrefslogtreecommitdiffstats
path: root/usr.bin/procstat/procstat.c
Commit message (Collapse)AuthorAgeFilesLines
* WARNS fixes: mainly constness and avoid comparing signed withdwmalone2008-02-081-6/+7
| | | | | unsigned by making array indicies unsigned. Also note one or two unused parameters.
* Add procstat(1), a process inspection utility. This provides both somerwatson2007-12-021-0/+252
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>
OpenPOWER on IntegriCloud