Example uses of the command "ps"

A Brief Introduction

man at computer
Erik Von Weber/Stone/Getty Images

A common way to use the ps command is:


ps ux

The displayed table has the following colomns:


USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND

To include all processes of all users you would add the "-a" flag:


ps -aux

ps U jjones

Adding the "u" flag will list the processes in the user friendly format:


ps uU jjones

For all available options of the ps command see the man page.