aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/procstat/procstat.1
Commit message (Collapse)AuthorAgeFilesLines
* Fix a typo.Wesley Shields2008-12-191-1/+1
| | | | | | | Approved by: rwatson Notes: svn path=/head/; revision=186330
* Integrate the new MPSAFE TTY layer to the FreeBSD operating system.Ed Schouten2008-08-201-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The last half year I've been working on a replacement TTY layer for the FreeBSD kernel. The new TTY layer was designed to improve the following: - Improved driver model: The old TTY layer has a driver model that is not abstract enough to make it friendly to use. A good example is the output path, where the device drivers directly access the output buffers. This means that an in-kernel PPP implementation must always convert network buffers into TTY buffers. If a PPP implementation would be built on top of the new TTY layer (still needs a hooks layer, though), it would allow the PPP implementation to directly hand the data to the TTY driver. - Improved hotplugging: With the old TTY layer, it isn't entirely safe to destroy TTY's from the system. This implementation has a two-step destructing design, where the driver first abandons the TTY. After all threads have left the TTY, the TTY layer calls a routine in the driver, which can be used to free resources (unit numbers, etc). The pts(4) driver also implements this feature, which means posix_openpt() will now return PTY's that are created on the fly. - Improved performance: One of the major improvements is the per-TTY mutex, which is expected to improve scalability when compared to the old Giant locking. Another change is the unbuffered copying to userspace, which is both used on TTY device nodes and PTY masters. Upgrading should be quite straightforward. Unlike previous versions, existing kernel configuration files do not need to be changed, except when they reference device drivers that are listed in UPDATING. Obtained from: //depot/projects/mpsafetty/... Approved by: philip (ex-mentor) Discussed: on the lists, at BSDCan, at the DevSummit Sponsored by: Snow B.V., the Netherlands dcons(4) fixed by: kan Notes: svn path=/head/; revision=181905
* Fix a small typo in the procstat(1) manpage: messsage queue.Ed Schouten2008-07-281-1/+1
| | | | | | | | Approved by: philip (mentor) MFC after: 3 days Notes: svn path=/head/; revision=180875
* Use ddb(4), not DDB(4) for man page cross-references.Robert Watson2008-04-211-1/+1
| | | | | | | | MFC after: 3 days Reported by: novel Notes: svn path=/head/; revision=178379
* Provide more detailed information about each procstat(1) display mode,Robert Watson2008-04-191-7/+248
| | | | | | | | | | including a key to fields in each mode and flag abbreviations. MFC after: 3 days X-MFC-note: POSIX shared memory memory objects aren't in 7-STABLE yet Notes: svn path=/head/; revision=178317
* It is a bug that procstat(8) works only on live kernels and not crashdumps;Robert Watson2008-04-191-0/+4
| | | | | | | | | document in case anyone wants to work on fixing this. MFC after: 3 days Notes: svn path=/head/; revision=178316
* Add procstat(1), a process inspection utility. This provides both someRobert Watson2007-12-021-0/+114
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