Unix/Linux processes can be in various states: RUNNING & RUNNABLE, INTERRUPTABLE_SLEEP, UNINTERRUPTABLE_SLEEP, STOPPED, and ZOMBIE. Each state indicates a different condition of process activity and resource waiting. The article also explains how to terminate processes in different states and methods to find their current state using command-line tools.
How to Kill a Process in Unix/Linux? (kill, killall, pkill, top)
This article provides an overview of various methods to terminate processes in Unix/Linux systems. It explains commands like 'kill', 'killall', and 'pkill', detailing how to use them effectively. The 'top' command is also discussed for process termination. Key differences between these commands are highlighted for user clarity.
