Skip to content

Instantly share code, notes, and snippets.

@sakama
Created October 28, 2013 08:51
Show Gist options
  • Select an option

  • Save sakama/7193405 to your computer and use it in GitHub Desktop.

Select an option

Save sakama/7193405 to your computer and use it in GitHub Desktop.
Apache子プロセスのメモリ使用量を調べるときに使う
ps aux | grep [h]ttpd | grep [a]pache | awk 'BEGIN{x=0}{x+=$6}END{ print x/NR }'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment