diff options
author | alfred <alfred@FreeBSD.org> | 2004-07-01 09:12:38 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2004-07-01 09:12:38 +0000 |
commit | bf711ae9b25535d6a475aa2fe661dcd9c0b4e4b5 (patch) | |
tree | c715d25705cef277e259078e1d728bc053d10852 /contrib/top/top.h | |
parent | e6d783678aceef9e4b0a403a1b995ec353582fa3 (diff) | |
download | FreeBSD-src-bf711ae9b25535d6a475aa2fe661dcd9c0b4e4b5.zip FreeBSD-src-bf711ae9b25535d6a475aa2fe661dcd9c0b4e4b5.tar.gz |
New feature, provide a display that shows the amount of IO processes
are doing. Toggle this mode by hitting "m" or passing the command line
option "-m io" to top(1). This allows one to identify disk bandwidth
hogs much easier.
Diffstat (limited to 'contrib/top/top.h')
-rw-r--r-- | contrib/top/top.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/top/top.h b/contrib/top/top.h index aeed136..59cdeed 100644 --- a/contrib/top/top.h +++ b/contrib/top/top.h @@ -1,4 +1,7 @@ /* + * $FreeBSD$ + */ +/* * Top - a top users display for Berkeley Unix * * General (global) definitions @@ -34,3 +37,6 @@ char *version_string(); #define NUM_AVERAGES 3 +enum displaymodes { DISP_CPU = 0, DISP_IO, DISP_MAX }; + +extern enum displaymodes displaymode; |