Belajar Sendiri

Commands

ps

ps [aux]

Risk: Safe

What it does

Lists processes: programs at work, with their PID.

When to use it

To see what runs and who started it.

Example

$ ps aux

Every process of every user.

$ ps aux | grep nginx

Only the nginx lines.