summaryrefslogtreecommitdiff
path: root/usr.sbin/envstat/envstat.c
AgeCommit message (Expand)Author
2007-11-03- Rename ENVSYS_BATTERY_STATE units to ENVSYS_BATTERY_CAPACITY andxtraeme
2007-10-07New configuration file format for the envsys framework:xtraeme
2007-09-25- Simplify find_sensors().xtraeme
2007-09-25Merge a patch from Iain Hibbert (plunky@):xtraeme
2007-09-20sort optionsplunky
2007-09-10Another typo in a comment.xtraeme
2007-09-10Fix a comment.xtraeme
2007-09-10Check argc before calling open(2), and use the out label in anotherxtraeme
2007-09-10Fix a lint(1) warning and remove oldsize in print_sensors(), it'sxtraeme
2007-09-10Don't forget to check if -s was specified without -d, and add a macroxtraeme
2007-09-10Redo how the arguments are processed, so that arguments not allowedxtraeme
2007-09-04Update to match current kernel code.xtraeme
2007-09-02Add the -I flag that skips sensors with invalid state. They are shownxtraeme
2007-09-02Add a new sensor type to sysmon_envsys(9): ENVSYS_GSTRING.xtraeme
2007-08-29In temperature sensors, do not convert to degC or degF if there'sxtraeme
2007-08-26Check if the dictionary is empty and print a message if it's true.xtraeme
2007-08-05The caller of prop_dictionary_externalize is responsible to free thextraeme
2007-07-21Erm... fix previous.xtraeme
2007-07-21Fix a logic bug: report a message and error if -s or -m is being usedxtraeme
2007-07-17Return the value returned by prop_dictionary_recv_ioctl() if the -x flagxtraeme
2007-07-17- Return the value returned by prop_dictionary_{recv,send}_ioctlxtraeme
2007-07-17Only allow to use ENVSYS_SETDICTIONARY if the user has write permissionxtraeme
2007-07-17Add the -r flag, which is a dummy flag... only added for compatibilityxtraeme
2007-07-13Define a set of macros to avoid writting same code many times.xtraeme
2007-07-12Add a missing printf in parse_dictionary() and simplify this part toxtraeme
2007-07-12Remove a comment that is not valid anymore.xtraeme
2007-07-12- Do not refrence memory already freed, thanks to Geoff C. Wing forxtraeme
2007-07-05Align drive state string like other sensor types.xtraeme
2007-07-05Before checking sensor type:xtraeme
2007-07-05Print invalid state with 'N/A' for Indicators, like any other sensors.xtraeme
2007-07-05Print 'N/A' for invalid sensors rather than an asterisk, with thextraeme
2007-07-04By popular demand, do not skip sensors with invalid state. Print themxtraeme
2007-07-01Imported envsys 2, a brief description of the new features:xtraeme
2007-05-01Add bio(4) and associated bioctl(8) from OpenBSD, a driver control blockbouyer
2006-08-31In -i mode, flush standard output after each line. This is needed togson
2004-06-03One r in the option string is enough; from Jeff Ito.wiz
2004-06-03Remove unhandled option letter c from option string, noted by Jeff Ito.wiz
2004-06-03Sync usage with man page.wiz
2004-03-25- move the row printing code into it's own function.mrg
2004-03-21in -r mode, if given "-s sensor_list", only list the given sensors insteadmrg
2004-02-02As pointed out by Dave Huang, revert back to using 273.15 rather than 273.16soren
2004-02-02C = K + 273.16.soren
2004-01-05Homogenize usage messages: make the 'usage' word all lowercase, as this seemsjmmv
2003-10-31Don't display data for sensors with ENVSYS_FCURVALID not set.mycroft
2003-02-21Not all size_t's are equal to int...martin
2003-02-20- pass lintchristos
2003-01-11fix usage [add -r]christos
2003-01-05exit 0 when -rchristos
2003-01-05Update -r option to display data in correct units, IE temperature in degC orchris
2003-01-01Include <paths.h>augustss