Show all processes and their status on terminal CLI

a = show processes for all users
u = display the process’s user/owner
x = also show processes not attached to a terminal


Great command when we need to know which user is running the process

ps aux
ps aux | grep php
ps aux | grep apache

Leave a Comment

Your email address will not be published. Required fields are marked *