tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: DS20E and temperature
@ 2001-02-16 13:43 Kjell Andresen
  0 siblings, 0 replies; only message in thread
From: Kjell Andresen @ 2001-02-16 13:43 UTC (permalink / raw)
  To: tru64-unix-managers

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-02-16 13:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-02-16 13:43 SUMMARY: DS20E and temperature Kjell Andresen

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