summaryrefslogtreecommitdiff
path: root/usr.bin/systat
AgeCommit message (Collapse)Author
2008-12-02- there is no "load" global command, so remove its descriptionJason McIntyre
- comment out local commands for now, until they are implemented
2008-12-01Add a function to print a floating point field and use this to fix theChristian Weisgerber
SEConds field in the iostat view. ok and help canacar@
2008-11-17- stop referring to the display as consisting of windows. we can explainJason McIntyre
it more simply and cut out a lot of needless verbosity. - stop mixing terminology: view vs. display - "delay" overrides "-s delay", not "-w wait" - use "quit" as mnemonic for quit, not "exit" - ...and just generally clean the page up ok canacar
2008-11-08sort;Jason McIntyre
2008-11-08Add malloc and buckets views that display kernel malloc statistics similarCan Erkin Acar
to vmstat -m
2008-11-05add missing header needed by strcmp/strerror/memset functions.Charles Longeau
ok canacar@
2008-11-05Fix some function prototypes, remove unused variables and commented out codeCan Erkin Acar
2008-11-04spelling: ambigious -> ambiguousMarc Espie
2008-11-02new sentence, new line;Jason McIntyre
2008-11-02Add the option to sort by requests to the pool view, and documentCan Erkin Acar
the hotkeys 'o' to select and 'r' to reverse column orderings.
2008-11-02Add a view that displays pool(9) information. Idea and ok deraadt@Can Erkin Acar
2008-11-01remove commented out -S option;Jason McIntyre
2008-11-01Improve reporting of cache misses in the vmstat view. PreviouslyCan Erkin Acar
the misses field may report negative values. The hit/miss numbers does not exactly reflect the statistics collected by the kernel but this is close enough. Report & patch from Bjorn Anderss, input from beck@ and thib@
2008-11-01Remove disabled help text code and -S command, both leftovers from pftop,Can Erkin Acar
skip the correct number of bytes after the 'start' command.
2008-11-01Document more global hotkeys. Help and ok jmc@Can Erkin Acar
2008-10-31Implement start and stop commands as documented,Can Erkin Acar
explicitly pass the command buffer to the command functions.
2008-10-31make ^G display the current view and refresh interval as documented.Can Erkin Acar
2008-10-08Fix the order of traversal when printing the queues. Properly placesCan Erkin Acar
child queues under their respective interface root queues. Reported by jared r r spiegel via PR 5861.
2008-09-01Display direction In/Out/Any for rule display, not just In/Out.Stuart Henderson
ok canacar@
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