summaryrefslogtreecommitdiff
path: root/usr.bin/systat
AgeCommit message (Collapse)Author
2010-11-05Print relativ number of livelocks that happend between two systatClaudio Jeker
updates instead of showing absolut figures. Makes it easier to estimate the "livelockyness" of a system. OK dlg@
2010-11-02expose the kernels network livelock counterDavid Gwynne
2010-10-28cleanup ;;Theo de Raadt
2010-09-23tweak the mclgeti algorithm to behave better under load.David Gwynne
instead of letting hardware rings grow on every interrupt, restrict it so it can only grow once per softclock tick. we can only punish the rings on softclock ticks, so it make sense to only grow on softclock tick boundaries too. the rings are now punished after >1 lost softclock tick rather than >2. mclgeti is now more aggressive at detecting livelock. the rings get punished by an 8th, rather than by half. we now allow the rings to be punished again even if the system is already considered in livelock. without this diff a livelocked system will have its rx ring sizes scale up and down very rapidly, while holding the rings low for too long. this affected throughput significantly. discussed and tested heavily at j2k10. there are still some games with softnet we can play, but this is a good first step. "put it in" and ok deraadt@ ok claudio@ krw@ henning@ mcbride@ if we find out that it sucks we can pull it out again later. till then we'll run with it and see how it goes.
2010-08-01don't rely on mbuf.h to pull in pool.h here eitherBret Lambert
ok miod@
2010-08-01fix use of uninitialized variable.Charles Longeau
reported by gcc. ok canacar@
2010-07-22Let systat -N states resolve network addressesgiovanni
help and ok sthen@ lum@ ok canacar@
2010-07-21Remove reference to non-existent behaviour.lum
ok canacar@
2010-07-19Add prototype and remove unnecessary includes.lum
ok canacar@
2010-07-19Remove unused function.lum
ok canacar@
2010-07-16Move the description of load averages/top line to a better place.lum
Suggestions and ok canacar@
2010-07-16Make the terminal checking capability of systat better.lum
Checks taken from top(1) screen.c/init_termcap() ok canacar@ sthen@ nicm@
2010-07-05Add prototype and remove unused variable.lum
ok canacar@
2010-07-02Allow systat to print date and time when in rawmode.lum
ok canacar@ millert@
2010-04-21scale angle by 1000000 to permit min.sec accuracyTheo de Raadt
2010-04-21Add the "angle" sensor, measured in degrees; from Luis PintoTheo de Raadt
2010-04-20Get rid of MAXSENSORDEVICES. Gaps in sensordev lists are now handledTheo de Raadt
by returning ENXIO instead of ENOENT, to essentially indicate hotplug sensor that has gone away. Accessing beyond the end of the sensordev list still returns ENOENT, so that you can see there are no further devices. ok kettenis oga
2010-04-20Add "frequency" type for sensors. (and teach userland how to print thatOwain Ainsworth
type). Measured in Hz. ok deraadt@
2010-04-15add SENSOR_HUMIDITY to sensor framework to handle humidity valuesYojiro Uo
ok kettenis@ xsa@ sobrado@ krw@ deraadt@
2010-03-13.Xt -> .XrJason McIntyre
2010-01-19Unbreak tree - I missed systat's use of the old pf debug levels.Ryan Thomas McBride
pointed out by toby
2010-01-12Update to ncurses 5.7, with local changes reapplied.Nicholas Marriott
This is around eight years worth of changes (previously we were around ncurses 5.2), too many to list - many bug fixes and also a few new functions. A major bump for libcurses, libpanel, libform and libmenu. ok deraadt
2009-11-23args, not that fileHenning Brauer
2009-11-23no more natpassHenning Brauer
2009-11-23Properly handle interfaces deleted from the middle of the list.Can Erkin Acar
Reported by deraadt@
2009-11-15some fixes from Seth Wright;Jason McIntyre
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
2009-08-14tweak the vmstat description;Jason McIntyre
2009-08-14SENSOR_WATTS; ok canacar deraadt kettenis henningConstantine A. Murenin
2009-08-14tie IPKTS/OPKTS to bottom corner for smaller screensTheo de Raadt
2009-08-13there are louder and louder moans about the inability to see packetTheo de Raadt
rates at the same time as interrupt counts, so sneak them into the bottom corner of the vmstat screen ok dlg
2009-08-09Show the busy and mapped pages in iostat.Artur Grabowski
2009-07-21add missing flag to synopsis.Igor Sobrado
2009-07-21Allow systat(1) to resolve names by adding a new -N flag. (The default wasStuart Henderson
changed some time ago). Noticed by landry@, discussed with canacar@ and others. ok deraadt@
2009-07-14use static for inline so compilers with c99 inline semanticsJonathan Gray
generate the same linkage as those with c89 semantics. ok sthen@
2009-06-26explicitly print an empty value between two end_line() calls to preventCan Erkin Acar
garbage from being printed at certain window sizes. Noticed by deraadt@
2009-06-26- include two missing headers in if.cJasper Lievisse Adriaanse
- add missing parenthesis in nfs.c ok canacar@
2009-06-25the rule is not to use nitems() in userland yetTheo de Raadt
2009-06-25sync the SENSOR_DRIVE_* names with sysctl(8)'sOkan Demirmen
ok canacar@
2009-06-25use the nitems() macro where appropriateOkan Demirmen
ok canacar@
2009-06-25Check RTM_VERSION even on sysctl data.Claudio Jeker
Tested and OK sthen@, OK henning@
2009-06-23tweak previous;Jason McIntyre
2009-06-19- uppercase the column headers for consistency with other viewsJasper Lievisse Adriaanse
2009-06-19- add two new views to systat, 'nfsserver' and 'nfsclient'.Jasper Lievisse Adriaanse
output is similar to nfsstat(1), but it allows for better monitoring/debugging tricked into by and "i love this" thib@ ok canacar@
2009-06-11add missing header needed by ioctl()Charles Longeau
ok canacar@
2009-06-10Revert part of the earlier commit that displayed garbage instead ofCan Erkin Acar
the action column values. reported by jmc@
2009-06-06- remove unused macro from iostat.cJasper Lievisse Adriaanse
- minor space nit in engine.c ok canacar@
2009-06-04Plug memory leak when the terminal is resized.Can Erkin Acar
Reported by Simon Bertrang, thanks.
2009-05-03Hinge at the natural rollover point 9999x instead of 1024x when switching toDale Rahn
the next unit K->M->G. ok deraadt@
2009-04-23sync actiontypes (pass, block etc) with pfvar so that match rules areHenning Brauer
displayed correctly (actually thsi was out of sync for more than just match) From: Craig Barraclough <craigba at afnsecurity dot com>