Created
August 11, 2018 07:54
-
-
Save sunxboy/fd9622070b6ccbbd7ade69cac119a79d to your computer and use it in GitHub Desktop.
bash shell get pid only
This file contains hidden or 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 | awk '/[a]zkaban.jobid=234719041867038727/{print $2}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment