9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] disk drive temperature monitoring
@ 2009-05-07 17:49 erik quanstrom
  0 siblings, 0 replies; only message in thread
From: erik quanstrom @ 2009-05-07 17:49 UTC (permalink / raw)
  To: 9fans

if you're using the contrib package quanstro/sd
and pull the new quanstro/fis and quanstro/atazz
and you have a newish ata drive that supports sct,
it's simple to check drive temperature:

	chula# hdtemp
	/dev/sda0	32
	/dev/sda3	34
	/dev/sdE0	33

you can check manually for sct support
by using atazz

	chula# atazz /dev/sda0
	az> dev
	dev	/dev/sda0
	flags	lba llba smart nop ata8
>	sct	yes
	geometry 976773168 512

fancier incantations (like the last n temperature
readings) can be found in /sys/src/cmd/atazz/sctnotes.

i'm sure you can do the same thing with sas drives,
i just haven't bothered yet.

- erik



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

only message in thread, other threads:[~2009-05-07 17:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-07 17:49 [9fans] disk drive temperature monitoring erik quanstrom

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).