Skip to content

Processes

CommandDescriptionExample
ps auxList all processesps aux
topDisplay real-time process activitytop
htopEnhanced, interactive process viewerhtop
killTerminate a process by its PIDkill 1234
kill -9Force immediate termination of a processkill -9 1234

  1. Run top to view activity.
  2. Identify the PID of a process.
  3. Use kill <PID> to terminate it.

  • Prefer a simple kill before using kill -9.
  • Use htop for easier process management.
  • Double-check the PID before killing a process.