eric@lucii.org on 11 Feb 2005 03:07:44 -0000


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

Re: [PLUG] Hardware monitoring


On Thu, Feb 10, 2005 at 08:45:46PM -0500, Mark M. Hoffman wrote:
> 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

You are correct - 5 minutes is far more reasonable.  I'm just paranoid 
right now and wanted to see the fine granularity.  After your presentation
next month I'm sure I'll know a LOT more about what I'm doing.

Eric
-- 
------------------------------------------------------------------------
#  Eric A Lucas                        |             __|__
#   "Oh, I have slipped the surly bond |          *---oOo---*
#    of earth and danced the skies on  |    __|__             __|__
#    laughter-silvered wings...        | *---oOo---*       *---oOo---*
#        -- John Gillespie Magee Jr.   |
___________________________________________________________________________
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