top -p `pgrep node

top -p `pgrep node | tr "\n" "," | sed 's/,$//'`

10974、10980、10981、10995

原文地址:https://www.cnblogs.com/94cool/p/14323871.html