Figure out which cron job chokes up your system in Linux

We will first execute the command ps -o pid,sess,cmd afx to figure out which cron job chokes up the system in Linux.

The above command will print out the process tree of all the processes running the system.

Check out from the above printed process tree if any of the script/process runs multiple times.

If you find any process runs multiple times then kill the process using the command kill <process id or psid>, i.e., kill 1234, where 1234 is the process id or psid.

That’s all. Thanks for reading.

Leave a Reply

Your email address will not be published. Required fields are marked *