-
-
Notifications
You must be signed in to change notification settings - Fork 542
Open
Description
Feature Request: Start htop with collapsed process tree
Description
When tree_view=1 is enabled, htop always starts with the entire process tree expanded.
It would be useful to have an option (e.g. tree_autocollapse=1) to start with all branches collapsed by default.
Use cases
- On systems with hundreds of processes (Proxmox, servers, containers), the expanded tree is very long.
- Many users prefer to start with a compact view and manually expand processes as needed.
- Helps users monitor only top-level services without scrolling.
Suggested behavior
Add a config option in ~/.config/htop/htoprc, for example:
tree_view=1
tree_collapsed=1
This would open htop directly in tree mode but with all nodes collapsed.
Environment
- htop version: 3.2.2
- OS: Debian / Proxmox 12.12 / 8.2.2
- Terminal: SSH
Additional notes
This feature would be especially appreciated by sysadmins and visualization users who rely on htop as a lightweight live process monitor but need a clean overview at startup.
Thanks for maintaining this awesome tool!
Metadata
Metadata
Assignees
Labels
No labels