Sergey A. Kobzar schrieb: > Wednesday, May 6, 2009, 2:12:42 PM, Lupe wrote: > >> On Wednesday, 2009-05-06 at 12:47:31 +0300, Sergey A. Kobzar wrote: >>> Wednesday, May 6, 2009, 12:20:40 PM, Lupe wrote: > >>> AFAIK you can get HDD temp using sysutils/smartmontools on FreeBSD >>> only. > >> The plugin use the smartctl command. > >>> I never tried to do this for disks which are spin down. But why do you >>> need check temperature of such disks? One time someone will ask you to >>> minitor temperature for suspended server... IMHO it's not fully >>> correct :) > >> The plugin is run every five minutes for all disks it is told to watch. A >> disk that is always spun down should not be on that list ;-) > > This should help: > > SMARTCTL(8): > > -n POWERMODE, --nocheck=POWERMODE > Specifieds if smartctl should exit before performing any checks > when the device is in a low-power mode. It may be used to pre- > vent a disk from being spun-up by smartctl. The power mode is > ignored by default. The allowed values of POWERMODE are: > > > Something like: > > # smartctl -n standby -a /dev/ad0 | grep -i temp
Does this actually work? ISTR that this failed at least for some SATA controllers, such as VIA 8237. _______________________________________________ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"