LinuxAdminToolkitLinuxAdminToolkit
Home
Guide
About Me
GitHub
Home
Guide
About Me
GitHub
  • Administrator's Manual

    • Commands
      • Basic Commands
      • File Management
      • Process Management
      • User and Group Management
      • System Information
      • Disk Usage
    • Networking
      • IP Address
      • Subnetting
      • Routing
      • Firewall
      • Network Tools
    • Services
      • Service Management
      • Service Configuration
      • Common Services
    • Monitoring and Logging
      • System Monitoring
      • Log Management
      • Monitoring Tools
      • Log Analysis Tools
    • Shell Scripting
      • Basic Shell Script Structure
      • Variables
      • Control Structures
      • Functions
      • Input and Output
      • Debugging and Error Handling
      • Advanced Topics
    • Configurations Files
      • System Configuration Files
      • Network Configuration Files
      • Service Configuration Files
      • Application Configuration Files
      • Editing Configuration Files
      • Backup and Restore Configuration Files

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
Edit this page on GitHub
Last Updated:
Contributors: jenilgajjar20
Prev
File Management
Next
User and Group Management