Print only certain columns of output from the ps command on Linux.
The ps command on Linux is very useful for listing running processes. It is possible to list only certain running processes. And also certain columns of text from the output. This could be very useful for a script. This example below shows how to only print the PID, the percentage of CPU and the command … Read more