Created
April 1, 2015 04:54
-
-
Save django-wong/c0c2be51808301d2028a to your computer and use it in GitHub Desktop.
检查进程数量
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
ps -ef |grep $1 |grep -v "grep" |wc -l | |
$1 = 进程名 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment