sensors(1) Linux User's Manual sensors(1)NAME
sensors - print sensors information
SYNOPSIS
sensors [ options ] [ chips ]
sensors -s [ chips ]
sensors --bus-list
DESCRIPTION
sensors is used to show the current readings of all sensor chips.
sensors -s is used to set all limits as specified in the configuration file.
sensors --bus-list is used to generate bus statements suitable for the configuration file.
OPTIONS -c config-file
Specify a configuration file. If no file is specified, the libsensors default configuration file is used. Use `-c /dev/null' to tem-
porarily disable this default configuration file.
-h Print a help text and exit.
-s Evaluate all `set' statements in the configuration file and exit. You must be `root' to do this. If this parameter is not specified,
no `set' statement is evaluated.
-A Do not show the adapter for each chip.
-u Raw output. This mode is only meant for debugging.
-v Print the program version and exit.
-f Print the temperatures in degrees Fahrenheit instead of Celsius.
--bus-list
Generate bus statements suitable for using in sensors.conf. Such bus statements are only needed if you have several chips sharing
the same address on different buses of the same type. As bus numbers are usually not guaranteed to be stable over reboots, these
statements let you refer to each bus by its name rather than numbers.
FILES
/etc/sensors3.conf
/etc/sensors.conf
The system wide configuration file. See sensors.conf(5) for further details.
SEE ALSO sensors.conf(5)AUTHOR
Frodo Looijaard and the lm_sensors group http://www.lm-sensors.org/
lm-sensors 3 October 2007 sensors(1)
Check Out this Related Man Page
sensors(1) Linux User's Manual sensors(1)NAME
sensors - printing sensors information
SYNOPSIS
sensors [ options ] [ chips ]
DESCRIPTION
sensors is used to show the current readings of all sensor chips, and to set all limits as specified in the configuration file.
sensors knows about certain chips, and outputs nicely formatted readings for them; but it can also display the information of unknown
chips, as long as libsensors knows about them.
OPTIONS -c config-file
Specify a configuration file. If no file is specified, the name `sensors.conf' is used. If the name does not contain a directory
slash, or this parameter is not present, the following path is examined: /etc, /usr/lib/sensors, /usr/local/lib/sensors, /usr/lib,
/usr/local/lib, .
-h Prints a help text
-s Evaluates all `set' statements in the configuration file. You must probably be `root' to do this. If this parameter is not speci-
fied, no `set' statement is evaluated.
-A Do not show adapter and algorithm for each chipset.
-u Treats all chips as unknown ones. Output will be of much lower quality; this option is only added for testing purposes.
-v Returns the program version.
-f Prints the temperatures in degrees Fahrenheit instead of Celsius.
FILES
/etc/sensors.conf
The system wide configuration file. See sensors.conf(5) for further details.
CONFORMING TO
lm_sensors-2.x
SEE ALSO sensors.conf(5)
June 2, 2002 sensors(1)
ok ok ok, this is my third post on the day I become a member. I should stop. I'm sure all my questions are in the wrong forums. I'm sorry.
my question is about lm_sensors, and hardware monitoring.
I have the goods, lm_sensors.tar.gz, and i2c.tar.gz
and I'm rather confusled. could someone... (2 Replies)
please refer the following 2 statements...
1)
int i=1,j;
j= i++ + i++;
2) int i=1,j;
j=++i + ++i;
how j becomes 2 and 6 for the above 2 statements
respectively ???
( i guessed j must be 3 and 5)
Somebody define the exact reason please.. :(
... (2 Replies)
Can someone explain the difference between backticks and system when
evaluated in these if statements:
sub getDate {
print "start date\n";
if ( system("/bin/date") ) {
print "can't get date\n";
exit(2);
}
print "finish date\n";
}
Returns the following:
start date
Thu... (5 Replies)
I've got a configuration file that is filled with xml text statements for example:
<...../>
<...../>
<...../>
<data id="java-options" value="-server -Djava.security.policy..../>
<...../>
<...../>
<...../>
I want to write a korn shell script that will go to this specific line and add a... (2 Replies)
Hi,
i'd like to implmeent emergency shutdown script in case our AC dies and the temperature rises too high.
I can get core temperatures with:
sensors | grep Core | cut -c15-16
Result is:
23
18
18
13
21
18
15
17
How can I check if any of the cores is above eg. 80 (that's C of... (2 Replies)
I just installed lm-sensor in my terminal and it's working, however i really don't know how to analyze what I have, Any help will be appreciated, Thanks
Here is the reading in my terminal,
sensors
acpitz-virtual-0
Adapter: Virtual device
temp1: +40.0°C (crit = +124.0°C) ... (3 Replies)
Dear Community,
I tried for over 4 days to figur this out.
I got a Shell-Code which contains some If-statements which are driving me crazy.
First of all the statements:
err=0;
echo "If-Test begins..."
if ! ];then
echo "If NOT 0"
fi
if ];then
echo "If NOT (inside braces) 0"
fi
... (3 Replies)
Dear Unix community over the last couple of days I have been working on learning Unix scripting on iOS using terminal on a jail-broken device...
I am having trouble with if statements and giving the user a y or n choice that do different things when entered. The following is my code so far...... (5 Replies)
Hello,
I'm a shell scripting noob and new to this forum as well. My question is can nested if statements be done with && and || instead and if it can be done can someone provide an example pls.
Thanks in advance for the help (1 Reply)
Hi, Im not a unix person but need to analyse some data.
This is bat data (animals) from large roosts using data loggers.
I think AWK is probably the best thing to use but dont really know so any help appreciated.
(python, grep) whichever it is, I'll have to learn it!
here is an example of... (27 Replies)
Hi,
Could anyone help me to understand the use of below two statements.
I found similar statements in rescan-scsi-bus.sh
fun1()
{
: fun2 # what is the use of this statement?
command1
command2
....
}
fun2 ()
{
VAR1=1
VAR2="some string" (3 Replies)
Hi guy,
These run individually, but not together.
I want to show both temp and fan speed.
Code:
watch -n 0.2 "sensors -f | grep "temp4""
watch -n 0.2 "sensors -f | grep "fan1"
Thanks (1 Reply)