summaryrefslogtreecommitdiffstats
path: root/sys/netgraph
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2004-01-08 22:49:23 +0000
committerrwatson <rwatson@FreeBSD.org>2004-01-08 22:49:23 +0000
commite73ac85912aa7bf1a141b56b00f9a99a50d2eec1 (patch)
tree6105c0626c575b0e541f2a5b20710dd7675bfd4a /sys/netgraph
parentbefa7a41a2066d28b744f83557cdec32fe3fe9f2 (diff)
downloadFreeBSD-src-e73ac85912aa7bf1a141b56b00f9a99a50d2eec1.zip
FreeBSD-src-e73ac85912aa7bf1a141b56b00f9a99a50d2eec1.tar.gz
Improve the expressiveness of ttyinfo (^T) when dealing with threads
in slightly less usual states: If the thread is on a run queue, display "running" if the thread is actually running, otherwise, "runnable". If the thread is sleeping, and it's on a sleep queue, display the name of the queue, otherwise "unknown" -- previously, in this situation we would display "iowait". If the thread is waiting on a lock, display *lockname. If the thread is suspended, display "suspended" -- previously, in this situation we would display "iowait". If the thread is waiting for an interrupt, display "intrwait" -- previously, in this situation we would display "iowait". If the thread is in a state not handled by the above, display "unknown" -- previously, we would print "iowait". Among other things, this avoids displaying "iowait" when the foreground process turns out to be suspended waiting for a debugger to properly attach.
Diffstat (limited to 'sys/netgraph')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud