gson
d9fde78727
In -i mode, flush standard output after each line. This is needed to
...
make the output appear in a timely fashion when redirected to a file
or pipe.
2006-08-31 10:25:04 +00:00
wiz
996e601d13
One r in the option string is enough; from Jeff Ito.
2004-06-03 16:48:53 +00:00
wiz
50c34bcf41
Remove unhandled option letter c from option string, noted by Jeff Ito.
2004-06-03 15:47:04 +00:00
wiz
856533536c
Sync usage with man page.
...
From Kouichirou Hiratsuka in PR 25798.
2004-06-03 14:51:32 +00:00
kochi
ffaf7e29a6
add references to ACPI man pages.
2004-04-25 03:13:00 +00:00
mrg
1505f78b5b
- move the row printing code into it's own function.
...
- pay attention to interval processing with row printing (-r -iN).
the latter fixes PR#24522.
2004-03-25 01:26:57 +00:00
mrg
057c3b737e
in -r mode, if given "-s sensor_list", only list the given sensors instead
...
of always listing them all
2004-03-21 10:52:26 +00:00
soren
12e7c81811
As pointed out by Dave Huang, revert back to using 273.15 rather than 273.16
...
when converting between kelvin and celsius.
2004-02-02 10:36:19 +00:00
soren
cf458c9f73
C = K + 273.16.
2004-02-02 07:55:14 +00:00
jmmv
b635f565e7
Homogenize usage messages: make the 'usage' word all lowercase, as this seems
...
to be the most common practice in our tree.
2004-01-05 23:23:32 +00:00
mycroft
e7e5d0f4f6
Don't display data for sensors with ENVSYS_FCURVALID not set.
...
Clean up a little.
2003-10-31 20:37:53 +00:00
martin
89fe22c05c
Not all size_t's are equal to int...
2003-02-21 07:23:43 +00:00
christos
c837eea5e5
- pass lint
...
- use size_t where appropriate
- use err/warn instead of printf, and don't hide the error messages from ioctl.
- keep units in sync (someone added integer in the header file and forgot
to update envsys.c)
2003-02-20 20:57:08 +00:00
christos
1748ad5426
fix usage [add -r]
2003-01-11 23:44:47 +00:00
christos
cee2d9b418
exit 0 when -r
2003-01-05 22:16:22 +00:00
chris
8eae0df210
Update -r option to display data in correct units, IE temperature in degC or
...
degF, fan speed is now correct, and indicators will now show ON/OFF.
2003-01-05 01:56:42 +00:00
augustss
167e6beba4
Add -r to synopsis.
2003-01-02 14:01:30 +00:00
wiz
8b0cfb2d8e
New sentence, new line. Bump date for -r description.
2003-01-02 13:55:29 +00:00
augustss
532c81c75d
Document the -r flag.
2003-01-02 11:55:52 +00:00
augustss
9381d1a428
Include <paths.h>
2003-01-01 12:16:40 +00:00
augustss
a57c1af9e5
ANSIfy.
2003-01-01 12:14:21 +00:00
explorer
0c77fcf312
add ENVSYS_INDICATOR and ENVSYS_INTEGER types
2002-12-31 05:27:29 +00:00
wiz
76cb93f4d7
Drop a trailing empty line.
2002-01-19 03:11:44 +00:00
cgd
25bdbb661e
convert to use getprogname()
2001-02-19 23:22:40 +00:00
augustss
826490bf58
Indicate that the device argument is not mandatory.
2000-07-02 00:55:47 +00:00
thorpej
3cf08199ac
If the `device' argument is not specified, attempt to open /dev/sysmon.
2000-06-24 00:41:10 +00:00
simonb
fd4ede242b
Don't declare 'extern opt*' getopt variables.
2000-04-14 06:26:52 +00:00
groo
38cfdfd8fc
Add envstat(8) for displaying sensor readings from any envsys(4)
...
compatible device.
2000-03-10 05:51:56 +00:00