summaryrefslogtreecommitdiff
path: root/usr.bin/systat/sensors.c
AgeCommit message (Collapse)Author
2008-12-07Warning cleanup including unused variables and shadowed namesCan 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@
2007-07-29zap redundant code; ok deanna@Constantine A. Murenin
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-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-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-24some cleanups, i agree; MureninTheo de Raadt
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-23knfTheo de Raadt
2007-02-23Add a display for hardware sensors, available with :sensors.Deanna Phillips
ok deraadt, jmc