Computer randomly shutting off and then turning on

Jul 18, 2018
2
0
10
Happened just recently, my computer randomly shuts off and then turns on. The time frame between them is sporadic.

My PC's 5 years old, and has had 2 power suppy changes and nothing more has been touched. The current power supply has served me well for about a year or two.

It's not triggered by a particular program, nor after some download, at least not that I'm aware of.

I use Eset Internet Security as my antivirus.

I'm not particularly good at displaying specs so I'll write what I know:

Intel Celeron G550 2.6ghz
4gb ram
64bit operating system
AMD Radeon HD 5450
 
Jul 18, 2018
2
0
10
@prince_xaine I'd like to explore some other options before buying a new power supply. Don't want to spend my money on that immediately even though I suspected it first. Thanks nonetheless.
@theyeti https://gyazo.com/3725d063d8d0052d0f51c9f1482f9c1e here's the temperature with just my antivirus scan running.
https://i.gyazo.com/74d67ebc5e9287a563969f87e16ae2f1.png and here it is after I launched a 4gb ram game... I'm not sure if this is what I was supposed to take the picture of?
@greeko no BSOD (only that black screen saying windows didnt turn off properly or something, the 30 seconds screen), although I do recall a crash and a BSOD appearing once two weeks ago, but I just disregarded it. I'll use the memtest soon, although can you link me to a free version if there is any, please?