DELAPARRA
Index
Color
NL
Category: CLI commands

ps

Explained by Updated

What is ps?

ps: Process Status — List running processes. ps lists running processes. ps aux shows all processes on the system with their user, CPU and memory usage, and command. ps aux | grep php finds PHP processes specifically. It is a basic tool for checking whether a service is running, which user it runs as, and whether something is using unexpected resources.

Definition source Coders Lingo, CC BY 4.0

Frequently asked questions about ps

What should you keep in mind with ps?

For a live view that updates every second, top or the friendlier htop show the same information sorted by CPU or memory. pgrep name returns just the process IDs, which is handy in scripts together with kill. Inside a container, ps usually shows very few processes, often just your application as process 1, which is a quick way to confirm what the container is actually running.

At a glance

CategoryCLI commands
Explained by
Updated

More CLI commands terms

All terms starting with P

Skills

Download all skills (zip)

Manuals

Related services

Need any help?

Stuck on one of these in your own project? Tell me what you are working on and I will tell you how I would approach it.