summaryrefslogtreecommitdiffstats
path: root/lib/libdisk/disk.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2006-04-25 20:34:04 +0000
committerjhb <jhb@FreeBSD.org>2006-04-25 20:34:04 +0000
commitc4df8865612291bfa8ac366b1b0beff06ab34657 (patch)
tree685ab8f73314f3b9153867be34628e21bd9681ed /lib/libdisk/disk.c
parent0b071af54713f86b1c58a4860f759f358c7cb8c6 (diff)
downloadFreeBSD-src-c4df8865612291bfa8ac366b1b0beff06ab34657.zip
FreeBSD-src-c4df8865612291bfa8ac366b1b0beff06ab34657.tar.gz
- Overhaul the 'ps' command in ddb to be mostly readable again. :) It is
now back to using fixed-size columns for output and each line of output should fit in 80 columns on both 32-bit and 64-bit architectures. In general the output is close to that of the userland ps(1) with the exception that the 'wmesg' field is mostly similar to the "state" field in top(1) in that it will show either a wmesg, a lock name (prefixed with an *), "CPU xx" (for a running thread), or nothing if none of those three conditions are true. It also respects td_name when listing threads in a multithreaded process. There is a somewhat evilly-defined PTR64 macro I use to make account for the change in the size of the 'wchan' column in the formatted output (wchan is now the only pointer in the ps output and is available so it can be passed to 'show sleepq', 'show turnstile', or 'show lock'). - Add two new commands "show proc [process]" and "show thread [thread]" that show details about the specified process or thread (specified either by pid/tid or pointer), respectively. If an address it not specified, it uses the current kdb thread.
Diffstat (limited to 'lib/libdisk/disk.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud