Reference Guide

smartctl --smart=on --offlineauto=on --saveauto=on /dev/hda
(Enables SMART on first disk)
smartctl --test=long /dev/hda (Executes extended disk self-test)
smartctl --attributes --log=selftest --qu
MODE, --nocheck=MODE (ATA) No check if: never, sleep, standby, idle (see man page)
============== DEVICE FEATURE ENABLE/DISABLE COMMANDS =====
bonnie++
bonnie++ is a test suite for storage devices that runs more comprehensive tests than the standard file system tests using the
storagetool. You can run bonnie++ outside of the storagetool, but for logging purposes, use bonnie++ within storagetool.
root@dell-diag-os:/opt/dell/diag/bin# bonnie++
You must use the "-u" switch when running as root.
usage: bonnie++ [-d scratch-dir] [-s size(Mb)[:chunk-size(b)]]
[-n number-to-stat[:max-size[:min-size][:num-directories]]]
[-m machine-name]
[-r ram-size-in-Mb]
[-x number-of-tests] [-u uid-to-use:gid-to-use] [-g gid-to-use]
[-q] [-f] [-b] [-p processes | -y]
Version: 1.03
root@dell-diag-os:/opt/dell/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
Dell EMC DIAG OS tools
55