Mark M. Hoffman on 11 Feb 2005 01:45:56 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Hardware monitoring


Hi Eric:

* eric@lucii.org <eric@lucii.org> [2005-02-10 18:26:39 -0500]:
> Actually I already have smarttools installed (SuSE 9.1 prof)
> so I created a simple shell script to monitor things temporarily:
> 
> while test 1=1; 
> do 
>   echo -n `date "+%H:%M:%S"`
>   smartctl -a /dev/hda |grep -i celsius|gawk '{printf(" ");print $10}' 
>   sleep 5 
> done

That's probably more often than necessary.  I record my disk temps at
5 *minute* intervals from a cron job.  Since your disk temp was out of
spec for a while, you might also try these:

display the error log:
	# smartctl -l error /dev/hda

begin a short selftest, (OK to keep the disk mounted):
	# smartctl -t short /dev/hda

display the selftest results (after having waited a couple minutes):
	# smartctl -l selftest /dev/hda

Regards,

-- 
Mark M. Hoffman
mhoffman@lightlink.com

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug