tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Kjell Andresen <kjell.andresen () usit ! uio ! no>
To: tru64-unix-managers
Subject: SUMMARY: DS20E and temperature
Date: Fri, 16 Feb 2001 13:43:26 +0000	[thread overview]
Message-ID: <98233106021141.tru64-unix-managers.marc@archive.invalid> (raw)

Just a few seconds after my questions I got two answers from Kevin Fleming
and JC Faul - both works!

Regards,
Kjell Andresen  Systems administrator, University of Oslo, Norway
                Center for Information Technology Services and
                Department of Geophysics

Original question:
-----------------------------------------------------------------
At the console prompt/SRM-mode it is possible to issue
>>>show power
-and get info about power supplys, fans and temperature.
...
Is it possible to read the temperature when running TU64 v5.1?
-----------------------------------------------------------------
Date: Fri, 16 Feb 2001 23:33:35 -0000
From: Kevin Fleming <kevin@w617.com>
Subject: RE: DS20E and temperature

here is a script to display the temperature (on a DS20e) ..

#!/bin/sh

# show the system temperature
#
# KBF - 01 Jan 2001

HOST=`hostname`

  # get current temp
  current_temp_oid="1.3.6.1.4.1.36.2.18.22.1.8.1.2.1.3.1"

  current_temp=`/usr/sbin/snmp_request localhost public get $current_temp_oid | cut -f2 -d= | cut -c 2-`

  echo "$HOST temperature: ${current_temp}"

-----Original Message-----
Date: Fri, 16 Feb 2001 15:31:05 +0200
From: JC Faul <jfaul@mtc.com.na>
To: 'Kjell Andresen' <kjell.andresen@usit.uio.no>
Subject: RE: DS20E and temperature

Hi Kjell, on V4.0F I use the command >sysconfig -q envmon. Don't know if
it's available on V5.1

                 reply	other threads:[~2001-02-16 13:43 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox