Tag: ps

Linux: Running Processes Display UID instead of Username

Running the command ps to display a list of currently running processes may display a UID instead of the username. There is a reasonable explanation for that. An example command may look like this ps aux | grep thisismyuser May return something like 501 28373 15080 0 … You may have expected a return like thisismyuser 28373 15080 0 ……

Read More »

Linux: Count the number of processes running.

There was a need to determine the number of processes that was running on a Linux installation, specifically CentOS 5.6. I can’t find the source of this again, however, did use Google to find this information. Anyway, here is the command line needed. This command returned the desired results. ps auxh | wc -l The result will be a number,…

Read More »