F7 or ]Requires appropriate permissions, typically root.
Use htop to renice, kill, tag, and inspect processes, including shortcuts for signals, strace, lsof, and affinity-related workflows.
Interactive actions that change process behavior directly from htop.
F7 or ]Requires appropriate permissions, typically root.
F8 or [Useful when background jobs should yield more CPU to foreground work.
Open the kill menu for the selected or tagged processes.
F9 or kChoose the signal interactively, such as TERM or KILL.
kill -TERM 12345TERM asks the process to exit cleanly before resorting to stronger signals.
Companion command when you prefer non-interactive changes.
sudo renice -n -5 -p 12345Negative nice values increase scheduling priority.
Mark multiple processes, then send one action to all of them.
Space to tag, U to untagTagged processes can be killed together from the signal menu.
Attach external tools or inspect files and locks for the selected process.
Attach strace to the selected process if installed.
sShows a live view of system calls for the selected process.
lUseful for sockets, logs, deleted files still held open, and lock files.
xHelpful when debugging stuck jobs or lock contention.
sudo strace -p 12345Helpful if you want to control strace flags more precisely than the in-app shortcut.
sudo lsof -p 12345Pairs well with htop when you need copyable terminal output.
Complement htop when tracking placement or pinning.
taskset -pc 12345Shows which CPU cores a process may run on.