Skip to content

Instantly share code, notes, and snippets.

@tadasuke
Created December 12, 2012 01:59
Show Gist options
  • Save tadasuke/4264203 to your computer and use it in GitHub Desktop.
Save tadasuke/4264203 to your computer and use it in GitHub Desktop.
nginxの現在のプロセス数を表示
ls /proc/$(pgrep nginx -U nginx | head -n 1)/fd | wc -l
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment