Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products

Open Networking Hardware Diagnostic Guide November 2022

PDF

temptool

The temptool reads from the temperature devices and reports back the temperatures.

Tests

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.

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, 2022/05/20,

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 ensure they are within the acceptable range.
  • show—Shows the current temperature values.

Output

root@dell-diag-os:/opt/dellemc/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
Temperature Sensor 8 ....................... Passed
Temperature Sensor 9 ....................... Passed
Temp Sensors: Overall test results ----- >>> Passed
root@dell-diag-os:/opt/dellemc/diag/bin#

root@dell-diag-os:/opt/dellemc/diag/bin# temptool --show --lpc
Temperature Sensor 1 temperature value is 30.3 C
Temperature Sensor 2 temperature value is 23.1 C
Temperature Sensor 3 temperature value is 22.2 C
Temperature Sensor 4 temperature value is 26.0 C
Temperature Sensor 5 temperature value is 21.8 C
Temperature Sensor 6 temperature value is 22.0 C
Temperature Sensor 7 temperature value is 23.5 C
Temperature Sensor 8 temperature value is 31.0 C
Temperature Sensor 9 temperature value is 42.0 C
root@dell-diag-os:/opt/dellemc/diag/bin#

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\