Full visibility without accidental mutations.
Section: Remote SSH workflows
Run read-only with sudo
bash
bash
sudo htop --readonlyExplanation
Useful on production systems when you want observability but not intervention from the UI.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Remote SSH workflows
Run with elevated privileges
See more processes and use all process actions.
Run htop inside tmux on a remote host
Keep monitoring alive if your connection drops.
Run htop inside a running container
Inspect the process table from the container's perspective.