Reference Guide

temptool
The temptool reads from the temperature devices and reports back the temperatures.
The temperature sensors on the board are commonly connected through i2c busses. The configuration files specify the type of
the device, the sensor name, the instance in that device, its location on the board, and the thresholds for reporting low, normal,
and critical temperatures. To gather the information from the devices and report the values, the temptool uses the i2ctool.
Tests
The tool retrieves the data from the devices and validates that the temperatures are within the acceptable range.
CLI options
NOTE: Before using any commands, you must set the MUX settings to select the bus segments the temperature sensors
are on.
DellEmc Diag - Temperature Tool
version 1.4, x.xx.x.x-x
build, 2017/05/23,
Syntax: temptool <option>
Show the help-text:=
temptool --h (or)
temptool -h
Test the pre-programmed configuration:=
temptool --test --config=<config_file> [--lpc] (or)
temptool -t -f <config_file> [-l]
Execute repeatedly command by count:=
temptool --iteration=max/<count> [option1] [option2]...(or)
temptool -I max/<count> [option1] [option2]...
Show the current temperature-device values:=
temptool --show --config=<config_file> [--lpc] (or)
temptool -x -f <config_file> [-l]
Usage:=
-h, --h Show the help text
-t, --test Test using the pre-programmed configuration or use supplied config
-x, --show Show operation
-f, --config= To specify the location of the config file e.g. /etc/dn/diag/
<file_name>
-I, --iteration= Iteration command execution
-q, --lpc Use LPC interface for reading temperature
LPC option MUST be used with show/test flags
test Tests the sensors to make sure they are within the acceptable range.
show Shows the current temperature values.
Output
test output
root@dell-diag-os:/opt/dell/diag/bin# temptool --test --lpc
Testing Temp sensor devices:
Temperature Sensor 1 ....................... Passed
Temperature Sensor 2 ....................... Passed
Temperature Sensor 3 ....................... Passed
Temperature Sensor 4 ....................... Passed
Temperature Sensor 5 ....................... Passed
Temperature Sensor 6 ....................... Passed
Temperature Sensor 7 ....................... Passed
82
Dell EMC DIAG OS tools