If your Mac is always in the process of using a crash and so on, you can try to test your CPU stress. It will allow 100% of your CPU to run fully, allowing you to determine if there is a problem.
There are various ways to test your Mac, but this is the easiest way to do it. Before we start, you want to make sure that the file you open is saved, and that you close the unwanted application. If you are using a Mac notebook, you must be connected to the power supply.
Before you start, make sure your Mac is a few cores, typically a dual-core or 4-core machine, which must be made clear, because wait a minute to enter a command based on your number of cores.
Now we start to open the terminal (Finder-> Application Folder-> utility) and enter the following command in the terminal:
Yes >/dev/null
Then use command+t this shortcut key, in the "terminal" inside a new tab, and input just that command, to create how many tab, is based on the number of your kernel to determine.
Behind the work is waiting, in this waiting process, if your Mac crashes or crashes, that is, Mac may have a problem, if in 5 minutes, there is no crash, panic, and so on, your Mac is no problem.