Many on the PC is getting overheating issue and its shutdown without warning. I windows you can use coretemp software for monitoring the heating.
In ubuntu PC there need to measure the heat in digital numbers
To easiest way to Monitor the temperature
sudo apt-get install lm-sensors
watch -n 2 sensors