Dell PowerSwitch S4112F-ON Open Networking Hardware Diagnostic Guide April 201 - Page 85

temptool, Tests, CLI options, Outputtest output, Output, test output

Page 85 highlights

Version: 1.03 root@dell-diag-os:/opt/dellemc/diag/bin# 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 Show the help-text:= temptool --h (or) temptool -h Test the pre-programmed configuration:= temptool --test --config= [--lpc] (or) temptool -t -f [-l] Execute repeatedly command by count:= temptool --iteration=max/ [option1] [option2]...(or) temptool -I max/ [option1] [option2]... Show the current temperature-device values:= temptool --show --config= [--lpc] (or) temptool -x -f [-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/ -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/dellemc/diag/bin# temptool --test --lpc Testing Temp sensor devices: Temperature Sensor 1 Passed Temperature Sensor 2 Passed Dell EMC DAIG-OS tools 85

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88

Version: 1.03
root@dell-diag-os:/opt/dellemc/diag/bin#
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/dellemc/diag/bin# temptool --test --lpc
Testing Temp sensor
devices:
Temperature Sensor 1
.......................
Passed
Temperature Sensor 2
.......................
Passed
Dell EMC DAIG-OS tools
85