Skip to content

Instantly share code, notes, and snippets.

@tetsuyainfra
Created February 24, 2017 05:32
Show Gist options
  • Save tetsuyainfra/3a26602a7a519548b02ff1a8f4ea1397 to your computer and use it in GitHub Desktop.
Save tetsuyainfra/3a26602a7a519548b02ff1a8f4ea1397 to your computer and use it in GitHub Desktop.
プロセスが開いているファイル数をカウントしてみる(ちゃんと動いてるかあやしい)
ls -d /proc/*/fd | sudo xargs -i sh -c 'ls {} | wc -l'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment