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
:
ps
: Lists the processes running in the current terminal session.ps -ef
: Lists all processes running on the system, with detailed information about each process.ps -aux
: Lists all processes running on the system, with more detailed information about each process.ps -e
: Lists all processes running on the system, without any detailed information.ps -f
: Lists all processes running on the system, with full-format listing.ps -l
: Lists all processes running on the system, with long-format listing.ps -t
: Lists all processes running in the current terminal session.ps -u <username>
: Lists all processes running on the system for a specific user.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
Post a Comment