Important information is in the system (event) logs. Changing to
eliminate automatic restart might make future failures obvious. But
all that information on past failures is already in that log.
We wish
If the shutdown is due to power or certain disc issues
there almost certainly won't be anything in the log (because power problems
cause it to die before anything can be logged and an unwriteable disc
will obviously prevent a message from being logged).
Bad drivers and devices can so scramble the kernel data structures
that things just stop dead... And so on.
Power supply: if it was always defective (and defective power
supplies can still boot computers), then a multimeter will report that
Lol. Almost no one has a multimeter, and what if the power supply
USED to be good but ISN'T any more? All those capacitors and things inside
degrade over time, y'know.
Simply boot the computer to execute tasks to all peripherals.
Pfffft.
That won't tell you much. Even if you COULD manually coordinate
all that and still test all 5 leads at once it's only a point of time
capture and doesn't mean much. You really need an active load tester
(
http://www.chromausa.com/apsts.htm) but it's way easier just to buy a new
power supply and see if that fixes the problem. If not you always needed
a spare, anyway.
If dust caused a failure (especially after one year in a 70 degree
room), then your computer has a hardware failure. That computer must
work just fine while full of dust in a room of 100 degrees F. Heat is
a diagnostic tool to find other defects. If heat created by dust
causes a failure, then you have a severe and probably getting worse
hardware defect - not a heat problem.
Oh, great Ghu... Dust clogs fans, interferes with airflow, and
insulates the parts it coats preventing efficient heat exchange. It's
not a diagnostic tool. It's poor hygiene. Blow it out and if all the fans
are spinning the thing's probably fine. Anyway, this guy doesn't have a
heat problem because he crashes once then reboots and runs fine. Heat
problems you either crash and can't boot for a while (until the hot parts
cool off) or crash reboot and crash very quickly again. (IOW it doesn't run)
Well, most of the time anyway...
A dust story: when I set up my first home office the small house
we owned didn't have any place to put it except in the spare bedroom we'd
dedicated to the cats. It had 2 litterboxes and cat trees and stuff. After
a few months my Pentium 90 stopped working, and when I opened it up all that
cat litter dust had coated the inside like cement. After I cleaned it out and
replaced the gummed up fans I put filters over the intakes and it was fine.