SCSI\_TEMPERATURE(8) SG3\_UTILS SCSI\_TEMPERATURE(8)

# [NAME](#NAME)

scsi\_temperature - fetch the temperature of a SCSI device

# [SYNOPSIS](#SYNOPSIS)

**scsi\_temperature** \[*--help*] \[*--verbose*] *DEVICE* \[*DEVICE*]*

# [DESCRIPTION](#DESCRIPTION)

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.

# [OPTIONS](#OPTIONS)

Arguments to long options are mandatory for short options as well.

[**-h**, **--help**](#h)

print out the usage message then exit.

[**-v**, **--verbose**](#v)

increase level or verbosity.

# [EXIT STATUS](#EXIT_STATUS)

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/enterprise-packages/sg3-utils/sg3_utils.8) man page.

# [AUTHORS](#AUTHORS)

Written by D. Gilbert

# [COPYRIGHT](#COPYRIGHT)

Copyright © 2011-2013 Douglas Gilbert  
This software is distributed under a BSD-2-Clause license. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

# [SEE ALSO](#SEE_ALSO)

**sg\_logs (sg3\_utils)**

May 2011 sg3\_utils-1.36

---

Document: scsi_temperature(8) from sg3-utils 1.49-r3 (Chainguard OS)
Source: https://github.com/doug-gilbert/sg3_utils.git
