I've got a new custom built machine which I installed centos on. It runs ok for an hour or two then randomly shuts off. The only thing I can think of is that it's overheating but I've got pretty sufficient cooling on it, is there anyway to check temps in software + if it was overheating is Centos shutting it down or would it be the hardware that shuts it down. I'm new to linux are there any logs or anything written to when a machine shuts down. Any ideas on other things to check for I'm pretty stumped.