Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

sensors(1) [suse man page]

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)
Man Page

14 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

lm_sensors? hardware monitoring?

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)
Discussion started by: plusran
2 Replies

2. Programming

what is the exact reason ?

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)
Discussion started by: shamal
2 Replies

3. Shell Programming and Scripting

Perl - backticks v system in if statements

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)
Discussion started by: gjkeenan
5 Replies

4. Shell Programming and Scripting

Script to add a single line to middle of text file.

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)
Discussion started by: progkcp
2 Replies

5. Shell Programming and Scripting

Compare string output to int value?

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)
Discussion started by: zapp0
2 Replies

6. UNIX for Dummies Questions & Answers

Sensors in terminal?

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)
Discussion started by: fvs
3 Replies

7. Shell Programming and Scripting

IF-Statements not working

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)
Discussion started by: Henry_Ford
3 Replies

8. What is on Your Mind?

What are Your Favorite Chips? Mine are Doritos Nacho Cheesier!

By far, Doritos Nacho Cheesier are the best tasting chips, well at least too me. Have you tried them? What are your favorite chips? (5 Replies)
Discussion started by: Neo
5 Replies

9. UNIX for Dummies Questions & Answers

If statements/general help

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)
Discussion started by: mbf123
5 Replies

10. Shell Programming and Scripting

Nested if statements with && and ||?

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)
Discussion started by: zomgshellscript
1 Replies

11. Shell Programming and Scripting

Dont have a clue which program to use to process flying bat data

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)
Discussion started by: cmp260
27 Replies

12. UNIX for Dummies Questions & Answers

x=${#custom_prompt[*]}

x=${#custom_prompt } Can anyone help me in understanding the above statements meaning???? Thanks in advance, Puru (2 Replies)
Discussion started by: puru2121
2 Replies

13. Shell Programming and Scripting

Shell script NOP

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)
Discussion started by: praveen_tds98
3 Replies

14. Shell Programming and Scripting

Where the problem?

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)
Discussion started by: marknicolai192
1 Replies