Created
January 18, 2017 06:33
-
-
Save imweijh/e3283b483217ed810e29bc4f0c717c6e to your computer and use it in GitHub Desktop.
在top展示指定名字的进程
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
top -c -p $(pgrep "java|samplicate" -d ",") | |
# 只展示java或者samplicate命名的进程 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment