gpt4 book ai didi

htop - 在 htop 中搜索特定进程名称

转载 作者:行者123 更新时间:2023-12-03 10:58:39 25 4
gpt4 key购买 nike

我想通过在 htop 中搜索它的名称来快速找到我的进程是否正在运行。我只能一一找到PID或列出所有进程,不方便。

最佳答案

搜索
F3/并开始输入要搜索的进程名称:突出显示所有条目中最接近的匹配结果。
筛选
如果您只想显示与您的查询匹配的结果,您可以进行过滤:按 F4\过滤
From the htop manual:

F3, /: Incrementally search the command lines of all the displayed processes. The currently selected (highlighted) command will update as you type. While in search mode, pressing F3 will cycle through matching occurrences.

F4, \: Incremental process filtering: type in part of a process command line and only processes whose names match will be shown. To cancel filtering, enter the Filter option again and press Esc.

关于htop - 在 htop 中搜索特定进程名称,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40624685/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com