You can use the top command under Linux to check the resource usage of each process.
top -d 30 -n 9000 -b > test.txt can print the top results 9000 times every 30 seconds and output them to test.txt. Or you can just look at the top. If it exists in the text, you can write a script to analyze which programs use high CPU usage.
You can use the top command under Linux to check the resource usage of each process.
top -d 30 -n 9000 -b > test.txt can print the top results 9000 times every 30 seconds and output them to test.txt. Or you can just look at the top. If it exists in the text, you can write a script to analyze which programs use high CPU usage.