我真的很难在linux中找到进程的名字。我肯定这可能是我错过的很简单的事情。
发布于 2022-02-03 22:26:30
你在找ps命令吗?
这里有一个例子
nabil@LAPTOP:~$ ps xua | grep python
rootwsl 327 0.0 0.1 29568 17880 ? Ss Jan30 0:02 /usr/bin/python3 /usr/bin/networkd-dispatcher --run-startup-triggers
rootwsl 411 0.0 0.1 108116 20740 ? Ssl Jan30 0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal
nabil 106387 0.0 0.0 3444 736 pts/1 S+ 23:26 0:00 grep --color=auto pythonhttps://stackoverflow.com/questions/70979131
复制相似问题