summaryrefslogtreecommitdiff
path: root/usr.sbin/envstat/envstat.c
AgeCommit message (Expand)Author
2010-02-15Update userland envstat(8) to handle new {high,maximum}-capacity limits.pgoyette
2010-02-12Fix double free, when requesting an invalid sensor.njoly
2010-02-12remove the fourth (empty) column from the -T printouts; ok pgoyettecnst
2010-02-09fix a typo resulting in warn-max being shown in two columns (one time instead...cnst
2010-01-30Since we never have both a limit value and a limit %capacity value,pgoyette
2009-04-04fix pasto: don't print the critcap when the warncap was asked. Also off bychristos
2009-02-14Add support for showing temperatures in Kelvin.ahoka
2008-08-221. provide for warning-min and warning-max alarm levels in addition topgoyette
2008-08-09simplify the code, from xtraeme.christos
2008-05-25remove printf when the sensor has no statistics; requested by xtraeme.christos
2008-05-24Don't code using side-effects (eliminate queue variable). Unconfuses Coveritychristos
2008-05-24Coverity CID 5034: Use after free. Restructure the code to simplify it andchristos
2008-04-29Don't show statistics in sensors that will provide a percentage.xtraeme
2008-04-26Add missing cast, noticed by Paul Goyette in current-users@.xtraeme
2008-04-26Cur -> Current for the header.xtraeme
2008-04-26In default display mode, fix up the indentation for the criticalxtraeme
2008-04-26* Improve default display output by adding a header that will matchxtraeme
2008-04-17Remove the 'dvnprinted' bool member of sensor_t, it's unused.xtraeme
2008-04-17* Add support to show output from specified sensors in multiple devicesxtraeme
2007-11-16Implement the 'refresh-timeout' property in device blocks for thextraeme
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