scsi_temperature - fetch the temperature of a SCSI device
scsi_temperature [--help] [--verbose] DEVICE [DEVICE]*
This bash shell script calls the sg_logs utility on each given DEVICE in order to find the device's temperature. The Temperature log page is checked first and if it is not available then the Informational Exceptions log page is checked.
Arguments to long options are mandatory for short options as well.
print out the usage message then exit.
increase level or verbosity.
The exit status of this script is 0 when it is successful. Otherwise the exit status is that of the last sg_logs utility called. See the sg3_utils(8) man page.
Written by D. Gilbert
Copyright © 2011-2013 Douglas Gilbert
This software is distributed under a FreeBSD license. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
sg_logs (sg3_utils)