MRTG-SENSORS(1) MRTG helper utilities MRTG-SENSORS(1)NAME
mrtg-sensors - Returns data from lm-sensors
SYNOPSIS
mrtg-sensors [-m multiplier] chip label [chip label]
DESCRIPTION
mrtg-sensors uses the lm-sensors library to query various system sensors for information such as temperature, fan speed, etc. The output is
written in a form useful as input for the mrtg utility.
Up to two pairs of chips and labels may be specified. The first is used for the incoming data value in mrtg, while the second is used for
the outgoing data value. Of course, they need not correspond to incoming or outgoing data, that is merely what mrtg expects.
"chip" is the name of the chip to query, and "label" is the label of the piece of information that should be queried from the given chip.
sensors(1) can be used to look up all available chips and labels on your system.
Wildcards may be used in chip names, but only the first matching chip will be queried.
If you use the special name "dummy" as a chip name, nothing will be queried, and a value of zero will be sent to mrtg.
-m is the multiplier to be used in the output. The default multiplier is 1. Note that you may find it more useful to use sensors.conf(5) to
set global multipliers for sensors.
EXAMPLES
mrtg-sensors dummy dummy adm9240-* fan2
Get the speed of fan #2 from the adm9240 chip.
mrtg-sensors -m 0.5 adm9240-* fan1 adm9240-* fan2
Get the speeds of both fan #1 and fan #2, halfing both.
mrtg-sensors -m 2 dummy dummy adm9240-* temp
Get the cpu termerature, and double it.
SEE ALSO sensors(1)sensors.conf(5)AUTHOR
mrtg-sensors was written by Joey 'no pseudo-code' Hess <joeyh@debian.org>.
mrtgutils 0.1 2001-03-04 MRTG-SENSORS(1)
Check Out this Related 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)
what do you record or look for when using these dummy files to test I/O throughput on disk drives. i have no clue and reading from books sure aint helping much.
i know all about the creation and every other thing there is to it but when it comes to actual testing, how do i use them
this is... (4 Replies)
Hi UNIX Gurus,
I have got the following requirement and totally :confused: how to proceed.
A file is dummy.lst is there in the following format:--
ID NAME TYPE_ID
-------- --------- -----------
1947 Asia ... (1 Reply)
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'm writing a bash script to log some selections from a sensors output (core temp, mb temp, etc.) and I would also like to have the current cpu usage as a percentage. I have no idea how to go about getting it in a form that a bash script can use. For example, I would simply look in the output of... (3 Replies)
Hello all,
I am using prtdiag -v command to find the temperature sensors . And i dont see the following o/p .
ystem Configuration: Hewlett-Packard HP Z400 Workstation
BIOS Configuration: Hewlett-Packard 786G3 v01.17 08/19/2009
==== Processor Sockets ====================================
... (2 Replies)
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,
I want to grep a word say "fan" from a file and redirect those lines in a file with "#" before them.
eg
all
fan is on
i am you
you are me
i am on fan
Expected o/p
#fan is on
#i am on fan (2 Replies)
my file is :
hello1
hello2
hello3_B,dummy,N
Need to change to :
hello1
hello2
hello3_B,dummy_01,N
Can anyone help? Thank you.
Please use code tags next time for your code and data. (6 Replies)
Hi,
Have to filter out string before the last underscore in the following
input: UNIX_Solaris_59_KSH
output: UNIX_Solaris_59
dummy one but :mad:
Thanks & Regards,
Sourabh Singh Khichi (4 Replies)
hi all,
kindly help in this matter. Can i check anyone has any experience in removing the CPU fan from its chassis? my fan is spoilt and i wish to replace with other type. See picture below..
http://zone11.codemicroinc.netdna-cdn.com/large_1054367.jpg
---------- Post updated at 05:15 PM... (6 Replies)
Hi,
Sorry for a dummy question I believe. I am just wanting to know how do I assign a default $1 argument if one is not provided.
At the moment, I am doing something like below:
arg1="${1:-foo}"And then I check $arg1 in case/esac. I am just wondering if there is a way for me to simply do... (3 Replies)
Hi all,
I have some problems with the fan FT0.F0, which looks like has a problem with the PROM/ALOM ( I am nor sure who).....but, in fact, the fan is working properly even in other V440 Sparc Server.
We checked HW comunication between Fan and the MotherBoard, and we think is a problem of... (8 Replies)
i have this script which result is cpu temp in celsius
first install:
apt-get install lm-sensors
YES |sensors-detect --auto
#!/bin/bash
# 1. get temperature
## a. split response
## Core 0: +143.6°F (high = +186.8°F, crit = +212.0°F)
IFS=')' read -ra core_temp_arr <<<... (11 Replies)
These run individually, but not together.
I want to show both temp and fan speed.
watch -n 0.2 "sensors -f | grep "temp4""
watch -n 0.2 "sensors -f | grep "fan1"" (4 Replies)
Could somebody please provide me with verbatim description / purpose of the following ?
set dummy $ac_prog; ac_word=$2
set dummy $ac_tool_prefix; ac_word=$2
could it be written
set dummy $ac_prog;
ac_word=$2
set dummy $ac_tool_prefix;
ac_word=$2 (9 Replies)