Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何通过 ssh 获取 php 进程列表?并得到你需要的php进程的PID,如何查看你需要的进程在哪里?
你可以在 unix shell 上得到这样的
$ssh 10.2.8.67 "ps -ax | grep php | cut -d' ' -f1"