summaryrefslogtreecommitdiff
path: root/usr.sbin/pstat
diff options
context:
space:
mode:
authorEd Schouten <ed@FreeBSD.org>2009-02-11 16:28:49 +0000
committerEd Schouten <ed@FreeBSD.org>2009-02-11 16:28:49 +0000
commitc0086bf20280407ccd3ed5a4ef984ce90f56b9ab (patch)
tree705a88f64ce1671f4a752f6c09d52d89e75c747b /usr.sbin/pstat
parent54fffe2d67c0190cca8654a843a1d2f5c8141f50 (diff)
downloadsrc-test2-c0086bf20280407ccd3ed5a4ef984ce90f56b9ab.tar.gz
src-test2-c0086bf20280407ccd3ed5a4ef984ce90f56b9ab.zip
Notes
Diffstat (limited to 'usr.sbin/pstat')
-rw-r--r--usr.sbin/pstat/pstat.85
-rw-r--r--usr.sbin/pstat/pstat.c5
2 files changed, 10 insertions, 0 deletions
diff --git a/usr.sbin/pstat/pstat.8 b/usr.sbin/pstat/pstat.8
index b92abd8ae783..5e3760cecb7e 100644
--- a/usr.sbin/pstat/pstat.8
+++ b/usr.sbin/pstat/pstat.8
@@ -206,6 +206,11 @@ block mode input routine in use
connection lost
.It s
i/o being snooped
+.It b
+busy in
+.Xr read 2
+or
+.Xr write 2
.El
.Pp
The
diff --git a/usr.sbin/pstat/pstat.c b/usr.sbin/pstat/pstat.c
index 2cb52fec8812..8272eee38bd6 100644
--- a/usr.sbin/pstat/pstat.c
+++ b/usr.sbin/pstat/pstat.c
@@ -315,6 +315,11 @@ static struct {
{ TF_ZOMBIE, 'Z' },
{ TF_HOOK, 's' },
+ /* Keep these together -> 'bi' and 'bo'. */
+ { TF_BUSY, 'b' },
+ { TF_BUSY_IN, 'i' },
+ { TF_BUSY_OUT, 'o' },
+
{ 0, '\0'},
};