From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII X-Google-Thread: fa528,713c8dcd85ed7bf2 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2003-11-23 09:08:46 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!uio.no!nntp.uio.no!not-for-mail From: Kjell Andresen Newsgroups: comp.unix.tru64 Subject: Re: Alpha4100 temperature sensor Date: Sun, 23 Nov 2003 18:08:44 +0100 Organization: University of Oslo, Norway Message-ID: References: NNTP-Posting-Host: beta.uio.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: readme.uio.no 1069607326 24760 129.240.186.52 (23 Nov 2003 17:08:46 GMT) X-Complaints-To: abuse@uio.no NNTP-Posting-Date: Sun, 23 Nov 2003 17:08:46 +0000 (UTC) User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux) Cancel-Lock: sha1:2YIePq1g4pDiHElpM+KvREihYp8= Xref: archiver1.google.com comp.unix.tru64:10961 nospam 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}"