summaryrefslogtreecommitdiff
path: root/usr.bin/systat
AgeCommit message (Collapse)Author
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
2007-02-23mving the description of "mim prefix" to the display description was notJason McIntyre
quite correct - simplify it, and document it both for command line and interactive;
2007-02-23sort;Jason McIntyre
2007-02-23consistency fix which i should have spotted earlier...Jason McIntyre
2007-02-23more logical placing for discussion of minimum prefixes accepted;Jason McIntyre
started by deraadt
2007-02-23add missing copyright; ConstantineTheo de Raadt
2007-02-23leave unspecified fields blank; ok deannaTheo de Raadt
also, fix two logic errors in switches.
2007-02-23forgot to list the display in one placeTheo de Raadt
2007-02-23knfTheo de Raadt
2007-02-23Add a display for hardware sensors, available with :sensors.Deanna Phillips
ok deraadt, jmc
2006-11-29Do not test for processes being swapped out since this can't happen anymore.Miod Vallat
2006-11-28add additional link states to report the half duplex / full duplexReyk Floeter
state, if known by the driver. this is required to check the full duplex state without depending on the ifmedia ioctl which can't be called in the kernel without process context. ok henning@, brad@