summaryrefslogtreecommitdiff
path: root/usr.bin/systat
AgeCommit message (Collapse)Author
2008-08-13-S currently does nothing useful, so remove it fromJason McIntyre
SYNOPSIS and usage(); after some discussion with canacar
2008-08-11some consistency fixes and whitespace at eol removal;Jason McIntyre
2008-08-08documentation tweaks.Igor Sobrado
ok jmc@, matthieu@
2008-08-08Small step towards fixing documentation:Matthieu Herrb
- sync usage() with reality. Remove the -h option that does nothing. - don't complain about kvm_openfiles() error in case of incorrect usage. - add basic descriptions of the new options and views in the manual page. More is needed... with help from jmc@ and sobrado@. ok sobrado@.
2008-07-31Do not allow negative or zero delay values from the command line,Can Erkin Acar
use the same check as the -s option. Noticed by johan@
2008-07-22change the bcachestats structures members to int64_t's and do theThordur I. Bjornsson
printing in systat with the new print_fld_ssize() function. "same diff I wrote" deraadt@ ok art@
2008-07-22Add signed size printing functions, as requested by deraadt@.Can Erkin Acar
Just use print_fld_ssize() for signed values. Increase scale up to "Tera" while there.
2008-07-16Cleanup #define maze leftover from pftop compatibility.Can Erkin Acar
Pointed out by mcbride@, makes sense henning@
2008-07-12Add ':q' as an alias to ':quit', to match old behaviour. Initial patchCan Erkin Acar
from dlg@, this is a simpler version.
2008-07-07bcachestats got bumbed too u_int64_t's and I forgot aboutThordur I. Bjornsson
munging systat to handle the field with; pointed out by mickey ok canacar@
2008-06-29Simplify state creation code; merge state import/export code between pfsyncRyan Thomas McBride
and the state-related pf(4) ioctls, and make functions in state creation and destruction paths more robust in error conditions. All values in struct pfsync_state now in network byte order, as with pfsync. testing by david ok henning, systat parts ok canacar
2008-06-13Do not print a warning if /dev/pf can not be opened.Can Erkin Acar
2008-06-13Remove unused files. Noticed by sthen@Can Erkin Acar
2008-06-13Fix size and age field printing. The fields will now be printed with unitsCan Erkin Acar
instead of getting truncated.
2008-06-13compile on older gcc; no decl after codeTheo de Raadt
2008-06-13Use refresh interval for rate calculation instead of the broken elapsedCan Erkin Acar
time computation.
2008-06-13Set 'naptime' which is used by the interface page in differential mode.Can Erkin Acar
Also remove a debugging message while there. reported by claudio@
2008-06-13Do not try to access ordering if it is not defined.Can Erkin Acar
2008-06-12New display engine for systat, based on pftop. Adds new views for pfCan Erkin Acar
(status, state, rule, queue). While all displays work, some keyboard comands are not implemented yet. Other features include better handling of display resize and scrolling for long views. Committing now to fix the remaining issues in the tree. Testing and comments by otto@ and harding@, ok deraadt@
2008-06-12make bcachestats visible in systat io - from mickey.Bob Beck
ok thib@
2007-12-15-DNOKVM will compile iostat.c without kvm support, which it does not needTheo de Raadt
2007-11-22.Nm does not require an argument; from Mark LumsdenJason McIntyre
2007-11-17do not try to keep a list of all possible displays in the introduction.Jason McIntyre
the page already does this in detail, and this list just goes out of date. problem spotted by Mark Lumsden
2007-11-17document interactive command `q'; from Mark LumsdenJason McIntyre
2007-10-31remove out of date comment in BUGS: "Takes 2-10 percent of the CPU."Jason McIntyre
from Pierre Riteau
2007-09-11use strcspn to properly overwrite '\n' in fgets returned bufferGilles Chehade
ok pyr@, ray@, millert@, moritz@, chl@
2007-09-05Cope with if counters being u_int64_t now here, too.Michael Knudsen
ok claudio
2007-09-02use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgTheo de Raadt
2007-09-01malloc(n * m) -> calloc(n, m); from zinovikTheo de Raadt
2007-08-09Let realloc handle NULL. Check for integer overflow and reallocRay Lai
failure. Avoid passing negative integers to realloc by changing variables to size_t. Initial diff from Charles Longeau. OK millert.
2007-07-29zap redundant code; ok deanna@Constantine A. Murenin
2007-05-31convert to new .Dd format;Jason McIntyre
2007-05-30rename msec to the less confusing sec and improve the description inOtto Moerbeek
the man page. ok dlg@ and jmc@
2007-05-29otto would prefer only displaying one digit after decimal for refresh rateTed Unangst
2007-05-21fix -Wall warning about unused variable `errstr', which was introduced in ↵Constantine A. Murenin
the previous revision; ok deraadt, otto, tedu
2007-04-24support non-integral refresh intervals, possibly as low as 0.1s.Ted Unangst
this makes it more useful for real time display of fast changing stats ok art deraadt
2007-04-22Remove non-existent keyword protocol and replace it withMoritz Jodeit
the correct keywords (tcp, udp, all). Also add another missing argument to the show keyword. With and ok jmc@ and deraadt@
2007-04-15allow systat(1) to be exited with 'q' like top(1).Matthieu Herrb
ok beck@ ckuethe@ hshoexer@ millert@
2007-04-14naptime is already extern in extern.h, don't do it againTed Unangst
found by mike erdely
2007-03-23use the proper abbreviation for second: "s"Chris Kuethe
requested by deanna, naddy, otto, steven ok deanna, otto
2007-03-23display a timedelta of 0 in seconds, not some other unit.Chris Kuethe
requested by otto, ok otto
2007-03-23cannot remember what the vax -O0 workaround in 2002 was for. wish theTheo de Raadt
commit message had explained the problem at least vaguely. disable the workaround so that if the bug exists, it can rear it's head again (in 10 minutes of playing around, i could not find any unusual behaviour)
2007-03-23Add a routine to scale timedelta sensors to more meaningful units,Chris Kuethe
like fmt_scaled(3) does. Ranges from picoseconds to days. Also removes a couple of unneeded curses operations. ok deanna, ok deraadt
2007-03-20remove some bogus *p tests from charles longeauTed Unangst
ok deraadt millert
2007-03-04Clear the display so that the lines don't get overwritten withDeanna Phillips
hotplugged devices. Noticed by, similar fix proposed, mbalmer - Add missing CVS tag; constantine - Handle SENSOR_S_UNSPEC (do nothing for now). All discussed with Constanine and mbalmer; ok mbalmer.
2007-02-25add missing include, and int return value.Steven Mestdagh
ok deraadt, deanna
2007-02-25use the 1 line load line from 'systat vm' on all the other displays, givingTheo de Raadt
them more room. much cleaner, and it is less code too; ok deanna
2007-02-24unused vars; from Mark LumsdenOtto Moerbeek
2007-02-24some cleanups, i agree; MureninTheo de Raadt
2007-02-23one final sort;Jason McIntyre