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

  

Category: CLI commands 

# top / htop

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

## What is top / htop?

 

top / htop: Table of Processes / Interactive Process Viewer — Live view of CPU and memory usage by process. htop is the friendly version. ` top ` shows a live view of processes and their CPU and memory use, updated every few seconds. ` htop ` does the same with colours, scrolling, search and easy sorting, and is usually installed separately.

 

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 top / htop

  

### How is top / htop used in practice?

 

They answer the first question when a server is slow: which process is using the resources? A runaway queue worker, a stuck cron job or a memory leak usually shows up at the top of the list.

    

### What should you keep in mind with top / htop?

 

The load average in the header tells you how busy the system has been over the last one, five and fifteen minutes; compare it with the number of CPU cores. Inside containers, ` top ` shows only the container's processes. For Kubernetes, ` kubectl top pods ` gives a similar overview per pod, using the metrics server.

 

## At a glance

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

 

## More CLI commands terms

 

- [sudo](<https://delaparra-services.nl/knowledge-hub/sudo>) 
- [tail](<https://delaparra-services.nl/knowledge-hub/tail>) 
- [tar](<https://delaparra-services.nl/knowledge-hub/tar>) 
- [wget](<https://delaparra-services.nl/knowledge-hub/wget>) 
- [which](<https://delaparra-services.nl/knowledge-hub/which>) 
- [zip / unzip](<https://delaparra-services.nl/knowledge-hub/zip-unzip>)

 

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

 

## 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/top-htop/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/top-htop)
