Process Management
ps (report a snapshot of current processes)
- displays information about the active processes
ps aux
ps -ef
top (display dynamic real-time system information)
- provides a dynamic view of system processes and resource usage.
top
htop (interactive process viewer)
- an enhanced version of top with a more user-friendly interface.
htop
kill (terminate process by PID)
- sends a signal to terminate the process.
- '-9' is used for forceful termination
kill PID
kill -9 PID
pkill (terminate process by Name)
- kills processes by name.
- '-9' is used for forceful termination
pkill process_name
pkill -9 process_name