![使用 htop 跟踪进程](https://linux22.com/image/1060961/%E4%BD%BF%E7%94%A8%20htop%20%E8%B7%9F%E8%B8%AA%E8%BF%9B%E7%A8%8B.png)
我使用 htop 来监控进程,每当我想找到正在运行的进程时,我都会使用命令/
突出显示该进程,直到它在列表中移动。有没有办法让选定的进程保持突出显示?
答案1
阅读man htop
,特别是以下INTERACTIVE COMMANDS
部分:
F "Follow" process: if the sort order causes the currently selected process to move in the list, make the selection bar follow it. This is useful for monitoring a process: this
way, you can keep a process always visible on screen. When a movement key is used, "follow" loses effect.
您先请/
,F