The ps (process status) command produces a list of processes on the system that can be used to determine how long a process has been running, how much CPU resource processes are using, and if processes are being penalized by the system. It will also show how much memory processes are using, how much I/O a process is performing, the priority and nice values for the process, and who created the process.
The ps command has a variety of options. Helpful ps commands shows some helpful ps commands.
Helpful ps commands
|To display the top 5 CPU consuming processes.||
|To display the top 10 memory consuming processes.||