2011-01-20から1日間の記事一覧
Apacheプロセスのメモリ確保状況をしたくて、↓のスクリプトでモニタリングしてみる。ついでに、合計も出してみる。 [dev]~ $ cat monitor_proc.sh #!/bin/sh if [ $# -ne 1 ]; then echo "usage: #{0} [pname]" exit 1 fi pname=$1 pidlist=$(pgrep -d, -x $…
Apacheプロセスのメモリ確保状況をしたくて、↓のスクリプトでモニタリングしてみる。ついでに、合計も出してみる。 [dev]~ $ cat monitor_proc.sh #!/bin/sh if [ $# -ne 1 ]; then echo "usage: #{0} [pname]" exit 1 fi pname=$1 pidlist=$(pgrep -d, -x $…