Linux ps Command

 The ps command in Linux is used to list the currently running processes in the system. Here are some commonly used options with ps:

  1. ps: Lists the processes running in the current terminal session.
  2. ps -ef: Lists all processes running on the system, with detailed information about each process.
  3. ps -aux: Lists all processes running on the system, with more detailed information about each process.
  4. ps -e: Lists all processes running on the system, without any detailed information.
  5. ps -f: Lists all processes running on the system, with full-format listing.
  6. ps -l: Lists all processes running on the system, with long-format listing.
  7. ps -t: Lists all processes running in the current terminal session.
  8. ps -u <username>: Lists all processes running on the system for a specific user.
  9. ps -p <pid>: Displays information about the process with a specific process ID (PID).

These are just a few of the many options available with the ps command. You can find more information about the ps command and its options by typing man ps in your terminal.

Comments

Popular posts from this blog

Introduction to Computer

History of Computer

Computer Generation