From: Kjell Andresen <kjell@usit.uio.no>
Subject: Re: Alpha4100 temperature sensor
Date: Sun, 23 Nov 2003 18:08:44 +0100 [thread overview]
Message-ID: <u8nwu9rdnc3.fsf@beta.uio.no> (raw)
In-Reply-To: BBE6664F.1A958%x@wedontwantyourspam.com
nospam <x@wedontwantyourspam.com> writes:
> in article ddf392ea.0311220616.50050d86@posting.google.com, Shiva MahaDeva
> at contracer11@uol.com.br wrote on 23/11/2003 01:16:
>
>> I�m looking for a script to get the 4100 system�s temperature. Can you help me
>> ?
>> Thanks in advance.
>
> sysconfig -q envmon
> envmon:
> env_current_temp = 27
> env_high_temp_thresh = 50
> env_fan_status = 0
> env_ps_status = 0
> env_supported = 1
>
> Or
> getone localhost public svrThSensorReading.1
Another suggetion:
finse /# temp
finse.uio.no temperature: 35
finse /# cat /local/sbin/temp
#!/bin/sh
# show the system temperature
#
# KBF - 01 Jan 2001
# Received from tru64-unix-managers@ornl.gov
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}"
prev parent reply other threads:[~2003-11-23 17:08 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-22 14:16 Alpha4100 temperature sensor Shiva MahaDeva
2003-11-22 15:01 ` Eric de Redelijkheid
2003-11-23 2:25 ` nospam
2003-11-23 17:08 ` Kjell Andresen [this message]
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