The most common command for listing processes currently running on your system is ps (short for “process status“). This command has a lot of options that come in handy when troubleshooting why your system is running slow.
Used without any options, the ps commands displays only processes that are started from the current shell:
This isn’t very useful. To get information about all processes running on the system use ps -A:
The most commonly used options with ps are a, u and x. This displays all processes running for all users on your system, along with useful information such as the username of the process′s owner, CPU loads, the starting time of the process, the command that initiated the process, etc.
Used without any options, the ps commands displays only processes that are started from the current shell:
This isn’t very useful. To get information about all processes running on the system use ps -A:
The most commonly used options with ps are a, u and x. This displays all processes running for all users on your system, along with useful information such as the username of the process′s owner, CPU loads, the starting time of the process, the command that initiated the process, etc.
Post a Comment