Showing running processes with the ps command

While managing our server, we'll need to understand what processes are running and how to manage these processes. Later in this chapter, we'll work through starting, stopping, and monitoring processes. But before we get to those concepts, we first need to be able to determine what is actually running on our server. The ps command allows us to do this.

When executed by itself, the ps command will show a list of processes run by the user that called the command:

The output of the ps command, when run as a normal user and with no options

In the example screenshot I provided, you can see that when ...

Get Mastering Ubuntu Server - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.