Gentoo Archives: gentoo-user

From: Holger Hoffstaette <holger@×××××××.de>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: What to use for hdd temperature viewing
Date: Sat, 16 Sep 2006 14:10:45
Message-Id: pan.2006.09.16.13.35.14.312625@wizards.de
1 On Fri, 15 Sep 2006 13:14:17 -0500, reade wrote:
2
3 > What simple app, preferably cmdline, do people use to view hdd
4 > temperatures?
5
6 I use app-admin/hddtemp to feed my mrtg stats and it works just fine. For
7 feeding the temperature into the proper format do something like:
8
9 #!/bin/sh
10 TEMPERATURE=`/usr/sbin/hddtemp -n $1`
11 printf "%d\n%d\n" $TEMPERATURE $TEMPERATURE
12
13 pass /dev/yourdisk as argument and mrtg will happily graph it.
14
15 -h
16
17
18 --
19 gentoo-user@g.o mailing list