aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/gstat
Commit message (Collapse)AuthorAgeFilesLines
* Update dependencies after r291406 added libelf to libkvm.Bryan Drewery2015-12-011-0/+1
| | | | | | | | | | | Unfortunately filemon/meta mode tracks all indirect dependencies here since ld(1) is reading libelf when linking in libkvm. Churn would be reduced if this was able to be limited to direct dependencies. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=291558
* Use strlcpy() in favor of strncpy() as it's defined to have a nul characterXin LI2015-09-111-4/+4
| | | | | | | | | | | | | | at the end of string buffer, and the code context do expects this to behave correctly (e.g. strchr). Note that we do not believe there is real-world impact for gstat(8)'s usage because the strings are length checked, and the on-stack buffer belongs to main() and we can expect to have zeros in them. MFC after: 2 weeks Notes: svn path=/head/; revision=287650
* Add META_MODE support.Simon J. Gerraty2015-06-131-0/+25
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp Notes: svn path=/head/; revision=284345
| * dirdeps.mk now sets DEP_RELDIRSimon J. Gerraty2015-06-081-2/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=284172
| * Merge sync of headSimon J. Gerraty2015-05-271-2/+1
| |\ | |/ |/| | | Notes: svn path=/projects/bmake/; revision=283595
| * Updated/new dependenciesSimon J. Gerraty2014-11-191-1/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=274694
| * Merge from head@274682Simon J. Gerraty2014-11-191-2/+2
| |\ | | | | | | | | | Notes: svn path=/projects/bmake/; revision=274683
| * \ Merge head from 7/28Simon J. Gerraty2014-08-192-6/+35
| |\ \ | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=270164
| * | | Updated dependenciesSimon J. Gerraty2014-05-161-1/+0
| | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=266219
| * | | Updated dependenciesSimon J. Gerraty2014-05-101-0/+2
| | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=265802
| * | | Updated dependenciesSimon J. Gerraty2013-03-111-0/+1
| | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=248169
| * | | Updated dependenciesSimon J. Gerraty2013-02-161-2/+0
| | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=246868
| * | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.Marcel Moolenaar2012-08-221-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net> Notes: svn path=/projects/bmake/; revision=239572
* | | | Convert usr.sbin to LIBADDBaptiste Daroussin2014-11-251-2/+1
| |_|/ |/| | | | | | | | | | | | | | | | | Reduce overlinking Notes: svn path=/head/; revision=275054
* | | Convert LIBCURSES to LIBNCURSES to fix "make checkdpadd"Enji Cooper2014-08-261-2/+2
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | Also, add a missing LIBPANEL dependency for lldb Approved by: rpaulo (mentor) Suggested by: brooks MFC after: 5 days Phabric: D675 (as part of a larger diff) PR: 192762 Notes: svn path=/head/; revision=270650
* | Add an option, -p, which makes gstat(8) to only display physical providersXin LI2014-07-032-5/+13
| | | | | | | | | | | | | | | | | | (those with rank of 1). MFC after: 2 weeks Notes: svn path=/head/; revision=268238
* | Add -o option to gstat to display "other" operatins (e.g. BIO_FLUSH).Alexander Motin2014-05-172-5/+26
|/ | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=266320
* The last big commit: let usr.sbin/ use WARNS=6 by default.Ed Schouten2010-01-021-1/+0
| | | | Notes: svn path=/head/; revision=201390
* o Turn the batch mode on if stdout is not tty.Maxim Konovalov2009-03-122-4/+12
| | | | | | | | Submitted by: vsevolod MFC after: 1 week Notes: svn path=/head/; revision=189739
* o Sync synopsis with reality. Remove BUG section -- there isMaxim Konovalov2009-03-121-13/+1
| | | | | | | a batch mode in gpart(8) now. Notes: svn path=/head/; revision=189738
* - Allow gstat to print values to different kind of outputs.Ulf Lilleengen2008-10-072-73/+108
| | | | | | | | | | | - Introduce batch mode, where gstat will collect the numbers, print them, and exit. - Document batch mode in the gstat man page. Submitted by: anders Notes: svn path=/head/; revision=183665
* When the ms/req fields exceed 1 second, drop the fractions to fit more digits.Poul-Henning Kamp2008-01-061-3/+12
| | | | | | | | This is unfortunately necessary with some flash based devices which can get hundreds of seconds behind with softupdates enabled. Notes: svn path=/head/; revision=175118
* Deterministically set the default refresh interval to one second.Dag-Erling Smørgrav2007-03-291-1/+1
| | | | | | | | Approved by: phk MFC after: 1 week Notes: svn path=/head/; revision=168016
* Add missing library dependencies and sort librariesRuslan Ermilov2007-01-301-2/+2
| | | | | | | using lorder(1) so that static linkage is possible. Notes: svn path=/head/; revision=166355
* Language tweak.Ruslan Ermilov2006-09-291-1/+1
| | | | Notes: svn path=/head/; revision=162800
* - Add support for filtering the the list of providers by a regularSimon L. B. Nielsen2006-05-203-41/+159
| | | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=158771
* Add cross-references to iostat, systat and vmstat.Giorgos Keramidas2005-05-271-1/+4
| | | | Notes: svn path=/head/; revision=146665
* Remove unnecessary SRCS= where could be guessed directly by ourXin LI2005-01-271-1/+0
| | | | | | | | | bsd.*.mk infrasture. Obtained from: ru Notes: svn path=/head/; revision=140909
* Added the EXIT STATUS section where appropriate.Ruslan Ermilov2005-01-171-1/+1
| | | | Notes: svn path=/head/; revision=140368
* Add forgotten -a to the usage() message.Lukas Ertl2005-01-051-1/+1
| | | | Notes: svn path=/head/; revision=139722
* Add an '-a' switch to only display providers that are at leastLukas Ertl2004-10-102-3/+13
| | | | | | | | | 0.1% busy. OK'ed by: phk Notes: svn path=/head/; revision=136354
* Added forgotten -d to the usage().Ruslan Ermilov2004-06-041-1/+1
| | | | Notes: svn path=/head/; revision=130093
* Markup nits.Ruslan Ermilov2004-06-041-3/+4
| | | | Notes: svn path=/head/; revision=130087
* Remove spurious semicolons. Outside of functions they are actually errors butStefan Farfeleder2004-05-161-1/+1
| | | | | | | | | | | GCC doesn't warn about them without -pedantic. Approved by: das (mentor) PR: 56649 Reviewed by: md5 Notes: svn path=/head/; revision=129302
* Correct a typo in column header.Matthew N. Dodd2004-05-151-1/+1
| | | | | | | | Submitted by: phk Obtained from: BSDCan Notes: svn path=/head/; revision=129267
* Make libgeom usable by C++ programs:John Baldwin2004-03-091-9/+10
| | | | | | | | | | | | | - 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 Notes: svn path=/head/; revision=126786
* Add -d flag to monitor BIO_DELETE operations tooPoul-Henning Kamp2004-02-152-4/+27
| | | | Notes: svn path=/head/; revision=125844
* Sigh, I guess this manpage used cat(1) as a template?Ruslan Ermilov2003-05-311-7/+6
| | | | | | | | Otherwise, fix the manpage to not use the second person, and add two missing punctuation bits. Notes: svn path=/head/; revision=115475
* Install the gstat manual page.Tim J. Robbins2003-04-281-1/+1
| | | | Notes: svn path=/head/; revision=114160
* Make -c only set flag_c and not a toggle. With flag_c disabled byGiorgos Keramidas2003-03-221-1/+1
| | | | | | | | default, this makes the behavior of gstat more predictable when -c is specified multiple times on the command line. Notes: svn path=/head/; revision=112491
* Add a small manpage.Giorgos Keramidas2003-03-221-0/+87
| | | | Notes: svn path=/head/; revision=112490
* Add & use a usage() function.Giorgos Keramidas2003-03-221-2/+12
| | | | Notes: svn path=/head/; revision=112488
* Add error and range checking to strtoul() to avoid ending up with aGiorgos Keramidas2003-03-221-1/+2
| | | | | | | delay time of ULONG_MAX when -I is passed a non-numeric arg. Notes: svn path=/head/; revision=112487
* Why doesn't anybody ever tell me anything? When did we get a libsbuf ?Poul-Henning Kamp2003-03-211-5/+3
| | | | | | | | | | | 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 Notes: svn path=/head/; revision=112468
* Fixed a typo in ${.CURDIR} spelling, fatal on systemsRuslan Ermilov2003-03-211-12/+5
| | | | | | | | | | | | 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''. Notes: svn path=/head/; revision=112462
* Duh! Use correct number ../Poul-Henning Kamp2003-03-211-1/+1
| | | | | | | spotted by: imp Notes: svn path=/head/; revision=112460
* Call endwin() to restore terminal state just before exiting.Giorgos Keramidas2003-03-211-0/+2
| | | | | | | Approved by: phk Notes: svn path=/head/; revision=112457
* Add a rudimentary gstat(8) to the system.Poul-Henning Kamp2003-03-202-0/+251
This is a small curses based program which shows the diskactivity inside GEOM. Notes: svn path=/head/; revision=112444