Commit Graph

15 Commits

Author SHA1 Message Date
Marcelo Araujo
712a6ae66e Add flag -B which does the same like batch mode but without exiting after
print. Also add a new flag -s that add blocks size to statistics.

PR:		198347, 212726
Submitted by:	Ben RUBSON <ben.rubson@gmail.com>
Tested by:	pi
MFC After:	2 weeks.
2016-11-09 07:31:39 +00:00
Xin LI
f7317857be Add an option, -p, which makes gstat(8) to only display physical providers
(those with rank of 1).

MFC after:	2 weeks
2014-07-03 21:48:19 +00:00
Alexander Motin
16f6e71505 Add -o option to gstat to display "other" operatins (e.g. BIO_FLUSH).
MFC after:	1 week
2014-05-17 15:26:08 +00:00
Maxim Konovalov
62bc2068ec o Turn the batch mode on if stdout is not tty.
Submitted by:	vsevolod
MFC after:	1 week
2009-03-12 13:17:46 +00:00
Maxim Konovalov
70a14ebe37 o Sync synopsis with reality. Remove BUG section -- there is
a batch mode in gpart(8) now.
2009-03-12 13:03:33 +00:00
Ulf Lilleengen
a0312e48c1 - Allow gstat to print values to different kind of outputs.
- Introduce batch mode, where gstat will collect the numbers, print them, and
  exit.
- Document batch mode in the gstat man page.

Submitted by:	anders
2008-10-07 10:25:27 +00:00
Ruslan Ermilov
ae67ba29a4 Language tweak. 2006-09-29 16:51:29 +00:00
Simon L. B. Nielsen
711385c9d0 - Add support for filtering the the list of providers by a regular
expression, which makes it possible to only see interesting
  providers.  "f" is used inside gstat to set a filter, "F" is used to
  remove current filter.
- Do not print some uninteresting values in the gstat title line.
- Do not print past the end of the screen.
- Read multiple keystrokes per "wait" when gstat is running.
- Remove a redundant != check, right after check of NULL against the
  same variable ("gid").
- Use sysexits.h.
- Do not link against libkvm and libsbuf, they are not actually used.
- Fix a few style(9) issues where I had to touch nearby code anyway.

Approved by:	cperciva (mentor)
MFC after:	2 weeks
2006-05-20 19:17:47 +00:00
Giorgos Keramidas
24c5a5ebf0 Add cross-references to iostat, systat and vmstat. 2005-05-27 00:21:12 +00:00
Ruslan Ermilov
a866e17077 Added the EXIT STATUS section where appropriate. 2005-01-17 07:44:44 +00:00
Lukas Ertl
be75dba724 Add an '-a' switch to only display providers that are at least
0.1% busy.

OK'ed by:  phk
2004-10-10 16:13:11 +00:00
Ruslan Ermilov
b18b186e57 Markup nits. 2004-06-04 19:23:12 +00:00
Poul-Henning Kamp
fbbe961c41 Add -d flag to monitor BIO_DELETE operations too 2004-02-15 09:34:08 +00:00
Ruslan Ermilov
e6f5d39465 Sigh, I guess this manpage used cat(1) as a template?
Otherwise, fix the manpage to not use the second person,
and add two missing punctuation bits.
2003-05-31 18:19:50 +00:00
Giorgos Keramidas
ceecf6a783 Add a small manpage. 2003-03-22 09:44:56 +00:00