Skip to content

Instantly share code, notes, and snippets.

@ginokent
Created January 7, 2019 09:14
Show Gist options
  • Save ginokent/2a3917b019dc4c511941a1fd2f23d10c to your computer and use it in GitHub Desktop.
Save ginokent/2a3917b019dc4c511941a1fd2f23d10c to your computer and use it in GitHub Desktop.
[one-liner] 子プロセスのPIDだけ欲しい
pgrep -f fluentd | xargs -I@ pgrep -P @
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment