본문 바로가기

물고기2171

DNSMASQ – 로컬 DNS 쿼리 캐쉬 설정 Dnsmasq is a lightweight, easy to configure DNS forwarder and DHCP server. It is designed to provide DNS and, optionally, DHCP, to a small network. It can serve the names of local machines which are not in the global DNS. The DHCP server integrates with the DNS server and allows machines with DHCP-allocated addresses to appear in the DNS with names configured either in each host or in a central .. 2009. 5. 25.
MySQL 5.4 개발 공식발표 개선내용 MySQL 5.4 Scaling to 16 way x86 and 64-way CMT Servers The release of the MySQL 5.4 contains patches which increases the scalability of the MySQL Server. I am planning to blog about those changes in some detail over the next few days. This blog will give an introduction and show what the overall results we have achieved are. The changes we have done in MySQL 5.4 to improve scalability and the ab.. 2009. 5. 24.
PHP 문자열 관련 함수 echo "문자열 개수출력(strlen)";$str = "abcds";$result = strlen($str);echo "출력 문자 : $str";echo "문자 개수 : $result";$str = "가";echo "출력 문자 : $str";echo "문자 개수 : ".strlen("가")."";echo "문자열 뒤집기(strrev)";$str = "abcedf";echo "원래문자열 : $str";$result = strrev($str);echo "바뀐문자열 : $result";echo "두개의 문자열 비교(strcmp)";$str1 = "abcde";$str2 = "abcde";echo "str1=$str1, str2=$str2";echo "두 문자열이 같으면 :".strcmp($str1,$str2.. 2009. 5. 22.
리눅스에서 JEUS의 tcpmon 사용법 간혹.. 특히 리눅스에 JEUS를 설치할때 이상한 Class를 찾으려고 한다거나 -Xmx 512345200 not Understood 어쩌구.. 이상한 Exception이 발생할 때가 있다. JEUS 인스톨러가 바뀌면서 가끔 나타나는데 WebtoB도 마찬가지다.. 이럴땐 sh jeus-4.2.4.2-unix-common.bin LAX_VM $JAVA_HOME/bin/java sh 바이너리명 LAX_VM 자바실행파일위치를 지정해 준다. java vm이 인스톨러에 내장되어 있으나, 설치하려는 서버에서 동작하지 않을 수 있으므로, 명시적으로 자바 실행파일의 위치를 지정해주는 것이다. tcpmon 의 사용법에 대해서 말씀드리겠습니다. JEUS5.0 에는 JEUS_HOME/bin아래에 tcpmon.cmd 라는 파.. 2009. 5. 21.
TCPMon(TCP/IP Monitor) 사용 사용법 tcpmon tcpmon -V tcpmon -T interval[,count] [-D] tcpmon -f file [-T interval | -D] Options are as follows: -? print this help -D display all the values as delta values IData, OData, RData are in Byte -f file output file from "netstat -s" command -T interval,count display data in text -V show version 설명 tcpmon은 실시간으로 netstat -s 명령어의 출력을 받아서 주요 TCP 및 UDP 데이타에 대하여 그래프를 그려준다. 주어진 시간간격에 한번씩 netst.. 2009. 5. 21.