apacheのプロセス数を10秒おきに確認

while [ 1 ]; do ps aux | grep httpd | grep -v grep | wc -l; sleep 10; done