summaryrefslogtreecommitdiffstats
path: root/usr.bin/procstat/procstat_kstack.c
Commit message (Collapse)AuthorAgeFilesLines
* WARNS fixes: mainly constness and avoid comparing signed withdwmalone2008-02-081-3/+4
| | | | | unsigned by making array indicies unsigned. Also note one or two unused parameters.
* Display per-thread command line in TDNAME field for -k and -t; ifrwatson2007-12-031-18/+65
| | | | | | | | | no per-thread name is available or the name is identical to the process name, display "-" instead. Very slightly shrink the COMM entry to make a bit more room, although this doesn't help with stack traces much. Suggested by: thompsa
* Add procstat(1), a process inspection utility. This provides both somerwatson2007-12-021-0/+198
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