Re: Alpha4100 temperature sensor
From: Kjell Andresen (kjell_at_usit.uio.no)
Date: 11/23/03
- Next message: Bert Deknuydt: "Re: process ksh 99% cpu"
- Previous message: nospam: "Re: Alpha4100 temperature sensor"
- In reply to: nospam: "Re: Alpha4100 temperature sensor"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 23 Nov 2003 18:08:44 +0100
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}"
- Next message: Bert Deknuydt: "Re: process ksh 99% cpu"
- Previous message: nospam: "Re: Alpha4100 temperature sensor"
- In reply to: nospam: "Re: Alpha4100 temperature sensor"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|