How To's

How to see running processes

2,930 views · 0 found this helpful

Was this helpful?

PS lists a snapshot of all running processes for your user.
Here is the syntax and some options.

user@user:~$ ps

PID TTY TIME CMD
11490 pts/0 00:00:00 bash
29642 pts/0 00:00:00 ps

ps a - lists processes from all users
ps u - displays the process user / owner as well
ps x - shows processes not attached to a terminal (E.G Background processes)

You can use it in any combination.

Example of ps ux:

user@user:~$ ps ux

USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
user 11489 0.0 0.1 105632 2112 ? S 03:21 0:00 sshd: user@pts/0
user 11490 0.0 0.2 23528 4708 pts/0 Ss 03:21 0:00 -bash
user 29543 0.0 0.0 18444 1296 pts/0 R+ 09:33 0:00 ps ux
  • Updated

← All articles

Still stuck?

Our engineers answer tickets directly, 24/7.