#!/usr/bin/sh
# target에는 "/myfs1/" 같은 문자열이 들어가게 된다.
target=`dirname $1``basename $1`'/'
find $target -type f -print |
while read; do
awk '{ fulldir=$0; <span>sub(target, "/", fulldir);</span> print fulldir }'
apache의 log file에서 필요한 정보를 찾고싶은데요.
우선 httperf라는 웹서버 벤치마킹 툴을 사용해서, apache 서버에 connection을 요청하고
root document를 요청하는 테스트를 했습니다. 테스트 결과로 서버에서 보낸 reply의 개수를 보여줍니다.