1. [Home](<https://delaparra-services.nl/>) 
1. [Knowledge hub](<https://delaparra-services.nl/knowledge-hub>) 
1. [ps](<https://delaparra-services.nl/knowledge-hub/ps>)

  

Category: CLI commands 

# ps

  Explained by [Reinier de la Parra](<https://delaparra-services.nl/about>)  Updated November 25, 2026    

## 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](<https://coderslingo.com/resources/open-dataset/>), [CC BY 4.0](<https://creativecommons.org/licenses/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[Reinier de la Parra](<https://delaparra-services.nl/about>) UpdatedNovember 25, 2026

 

## More CLI commands terms

 

- [man](<https://delaparra-services.nl/knowledge-hub/man>) 
- [mkdir](<https://delaparra-services.nl/knowledge-hub/mkdir>) 
- [mv](<https://delaparra-services.nl/knowledge-hub/mv>) 
- [pwd](<https://delaparra-services.nl/knowledge-hub/pwd>) 
- [rm](<https://delaparra-services.nl/knowledge-hub/rm>) 
- [scp](<https://delaparra-services.nl/knowledge-hub/scp>)

 

[All terms starting with P](<https://delaparra-services.nl/knowledge-hub#letter-p>)

 

## Skills

 

- ### CLI flag safety

 

Use before running or suggesting shell commands with flags, especially destructive or broad ones (-f/--force, -r/-R recursive, -a/--all, -y/--yes, prune, --hard), and when a user asks what a flag means (-v, -q, -n/--dry-run, -h, -o, -p, -t, -u, -w, -x, -c, -i). Explains flags per tool and prefers dry runs and narrow scopes.

 [View skill](<https://delaparra-services.nl/skills/cli-flag-safety>) [Download zip](<https://delaparra-services.nl/skills/cli-flag-safety/download>) 
- ### Bash Defensive Patterns

 

Master defensive Bash programming techniques for production-grade scripts. Use when writing robust shell scripts, CI/CD pipelines, or system utilities requiring fault tolerance and safety.

 [View skill](<https://delaparra-services.nl/skills/bash-defensive-patterns>) [Download zip](<https://delaparra-services.nl/skills/bash-defensive-patterns/download>) 
- ### Debian Linux Triage

 

'Triage and resolve Debian Linux issues with apt, systemd, and AppArmor-aware guidance.'

 [View skill](<https://delaparra-services.nl/skills/debian-linux-triage>) [Download zip](<https://delaparra-services.nl/skills/debian-linux-triage/download>)

 [Download all skills (zip)](<https://delaparra-services.nl/knowledge-hub/ps/skills.zip>)

 

## Manuals

 

- [The terminal commands you actually need](<https://delaparra-services.nl/manuals/terminalcommandos-die-je-nodig-hebt>) 
- [The terminal and PowerShell](<https://delaparra-services.nl/manuals/de-terminal-en-powershell>)

 

## Related services

 

- [Your own coding agent](<https://delaparra-services.nl/services#service-06>)

If you want to use a coding agent, we provide all the infrastructure to help it work efficiently.

 

## 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.

  [Get in touch](<https://delaparra-services.nl/availability>)

[HTML version](https://delaparra-services.nl/knowledge-hub/ps)
