summaryrefslogtreecommitdiff
path: root/usr.bin/systat
AgeCommit message (Collapse)Author
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@
2006-11-13fix macro abuse leading to stray numbers in the vm display.Otto Moerbeek
ok a whole lot of devs@
2006-10-15Talk about "memory" not "pages in kilobytes", it is less awkwardTodd C. Miller
that way. OK jmc@ deraadt@
2006-10-13vmstat memory stats are in kb, not number of pages;Jason McIntyre
from jan srzednicki (freebsd pr #71690) ok mickey
2006-06-29change bytes to kilobytes so i dont have to think about where megabytesDavid Gwynne
start.
2006-06-28update the `iostat' section; from deanna phillipsJason McIntyre
ok dlg
2006-06-28mark up a `>';Jason McIntyre
2006-06-28update the `ifstat' entry;Jason McIntyre
based on a diff from deanna phillips, with some wording from dlg
2006-06-27basically replace the iostat view with something that looks like the ifstatDavid Gwynne
view. noone seemed particularly attached to the last one, so this is going in. from deanna phillips
2006-06-02Show interface state and link state in ifstat output. Idea and OK dlg@Claudio Jeker
2006-05-26remove references to CRTs where they no longer make sense;Jason McIntyre
tweaked by mickey/krw ok deraadt
2006-05-09delay time of 0 should be invalid; evol@online.ptt.ruTheo de Raadt
2006-04-14update the manpage to document interrupt cpu time in the vmstat view.David Gwynne
prodded by deraadt@
2006-04-14remove comments that says we dont count intr time and remove some code thatDavid Gwynne
fudges the output to stay clean when intr time wasnt shown. not needed since we show it now.
2006-04-14show cpu time spent in interrupts. ive been wanting this for years.David Gwynne
tweaks by deraadt@ ok by many
2006-04-12Improve error message.Ray Lai
Found by Florin Iamandi <florin dot i at tiscali dot it>. OK tedu@ and deraadt@
2006-03-31spacingTheo de Raadt