maxim
5b0bfd0e06
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
816892c353
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
lulf
3485cea7b7
- 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
phk
78269e8b8c
When the ms/req fields exceed 1 second, drop the fractions to fit more digits.
...
This is unfortunately necessary with some flash based devices which can
get hundreds of seconds behind with softupdates enabled.
2008-01-06 12:12:44 +00:00
des
8da21dc79c
Deterministically set the default refresh interval to one second.
...
Approved by: phk
MFC after: 1 week
2007-03-29 07:23:49 +00:00
ru
313b16a488
Add missing library dependencies and sort libraries
...
using lorder(1) so that static linkage is possible.
2007-01-30 15:10:37 +00:00
ru
e899d7f995
Language tweak.
2006-09-29 16:51:29 +00:00
simon
f767e585af
- 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
keramida
6a3b712542
Add cross-references to iostat, systat and vmstat.
2005-05-27 00:21:12 +00:00
delphij
32d71c2dd4
Remove unnecessary SRCS= where could be guessed directly by our
...
bsd.*.mk infrasture.
Obtained from: ru
2005-01-27 14:52:47 +00:00
ru
6cc4b6c220
Added the EXIT STATUS section where appropriate.
2005-01-17 07:44:44 +00:00
le
f97a57fae3
Add forgotten -a to the usage() message.
2005-01-05 18:41:54 +00:00
le
82d0e3bd69
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
ru
cb3cae26ca
Added forgotten -d to the usage().
2004-06-04 19:29:09 +00:00
ru
3d43f7de86
Markup nits.
2004-06-04 19:23:12 +00:00
stefanf
1b3274a8a0
Remove spurious semicolons. Outside of functions they are actually errors but
...
GCC doesn't warn about them without -pedantic.
Approved by: das (mentor)
PR: 56649
Reviewed by: md5
2004-05-16 22:08:17 +00:00
mdodd
3dceafd0ad
Correct a typo in column header.
...
Submitted by: phk
Obtained from: BSDCan
2004-05-15 16:06:59 +00:00
jhb
01eed200f9
Make libgeom usable by C++ programs:
...
- Add DECL wrappers to libgeom.h.
- Rename structure members in libgeom.h to use a lg_ prefix for member
names. This is required because a few structures had members named
'class' which made g++ very unhappy.
- Catch gstat(8) and gconcat(8) up to these API changes.
Reviewed by: phk
2004-03-09 21:14:18 +00:00
phk
2d2cf7594f
Add -d flag to monitor BIO_DELETE operations too
2004-02-15 09:34:08 +00:00
ru
7a8cce551a
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
tjr
867a1b8a0a
Install the gstat manual page.
2003-04-28 11:54:01 +00:00
keramida
8d9477cdb2
Make -c only set flag_c and not a toggle. With flag_c disabled by
...
default, this makes the behavior of gstat more predictable when -c is
specified multiple times on the command line.
2003-03-22 09:47:02 +00:00
keramida
1746b69bcd
Add a small manpage.
2003-03-22 09:44:56 +00:00
keramida
7dbdb2c2f1
Add & use a usage() function.
2003-03-22 09:39:52 +00:00
keramida
63a7e8cbbb
Add error and range checking to strtoul() to avoid ending up with a
...
delay time of ULONG_MAX when -I is passed a non-numeric arg.
2003-03-22 09:23:29 +00:00
phk
2ead165b25
Why doesn't anybody ever tell me anything? When did we get a libsbuf ?
...
Geeze, I'll just crawl back into the kernel where I know what's going on...
Use libsbuf instead of pulling a file in from the kernel.
Taught by: jhb
2003-03-21 17:10:54 +00:00
ru
2831e8b3e1
Fixed a typo in ${.CURDIR} spelling, fatal on systems
...
without the /sys symlink pointing to the current tree.
(Revision 1.2 made it non-fatal, but anyway.)
Apply style.Makefile(5).
Fixed ``make checkdpadd''.
2003-03-21 14:45:46 +00:00
phk
e52d618e02
Duh! Use correct number ../
...
spotted by: imp
2003-03-21 14:30:16 +00:00
keramida
5b5eeab2fd
Call endwin() to restore terminal state just before exiting.
...
Approved by: phk
2003-03-21 09:34:23 +00:00
phk
f3139ecc8b
Add a rudimentary gstat(8) to the system.
...
This is a small curses based program which shows the diskactivity
inside GEOM.
2003-03-20 20:48:41 +00:00