Develop/Linux 썸네일형 리스트형 [Apache] Apache Benchmark apache benchmark 사용 스크립트 #!/bin/sh if [ $# -lt 5 ]; then echo "abstress.sh " echo "" exit 1 fi url=$1 tt=$2 start=$3 max=$4 inc=$5 num=$start while true do /usr/local/apache2/bin/ab -t $tt -c $num $url 2>/dev/null > $$ rps=`cat $$ | grep Requests\ per\ second: | awk '{print $4;exit;}'` trans=`cat $$ | grep Transfer\ rate: | awk '{print $3;exit;}'` test_time=`cat $$ | grep Time\ taken\ for\ tests.. 더보기 [VIM] folding 1. hotkey for foldingzf : 선택부분 접기zi : 접는기능 토글(누를 때마다 접기/펴기가 토글됨)zv : 커서 줄 보기zo : 부분 펴기 (open)zc : 부분 접기 (close)zM : 모두 접기zR : 모두 펴기zd : 접은 부분 삭제 2. type of folding(.vimrc에 추가하여 사용가능)manual - 수동indent - ?expr - ?marker - 특정 marker로 지정된 영역을 폴딩syntax - syntax에 따라 자동폴딩diff - 변경되지 않은 부분 폴딩Ex) set foldmethod=indent 더보기 [PHP] php configuration CONFIGURE_COMMAND = './configure' '--prefix=/usr/local/php' '--with-config-file-path=/usr/local/apache/conf' '--with-apxs2=/usr/local/apache/bin/apxs' '--enable-ftp' '--with-mysql=/usr/local/mysql' '--with-mysqli=/usr/local/mysql/bin/mysql_config' '--with-mssql=/usr/local/freetds' '--enable-sigchild' '--with-openssl' '--with-gd' '--enable-gd-native-ttf' '--with-freetype-dir=/usr/include/freetype.. 더보기 이전 1 ··· 4 5 6 7 8 9 10 ··· 18 다음