apache 的 ab 指令作壓力測試
作者:cross 日期:2007-01-31 11:56
Apache HTTP server benchmarking tool
20個連線,3次同時連線
ab -n 20 -c 3 http://tw.yahoo.com/
結果
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright 1997-2005 The Apache Software Foundation, http://www.apache.org/Benchmarking tw.yahoo.com (be patient).....done
Server Software:
Server Hostname: tw.yahoo.com
Server Port: 80Document Path: /
vmware-server
作者:cross 日期:2007-01-30 17:52
Linux平台
套件- VMware-server-1.0.1-29996.tar.gz
- VMware-mui-1.0.1-29996.tar.gz (管理介面 web management interface)
- VMware-server-linux-client-1.0.1-29996.zip中的 VMware-server-console-1.0.1-29996.tar.gz (管理 console)
到官網http://register.vmware.com/content/registration.html
註冊得到免費的 Key
messages訊息
作者:cross 日期:2007-01-25 22:17
ref: https://twiki.cern.ch/twiki/bin/view/FIOgroup/DiskPrbSmartsmartd[2689]: Device: /dev/hda, FAILED SMART self-check. BACK UP DATA NOW!
This message can appear if the self tests are aborted manually in order to clear out the error log. If this is true, run a series of short tests to clear the 20 error log history. If this is not the case, the disk is failing and should be immediately replaced through DiskWinVendorCall
NET: N messages suppressed
Quote: http://kano.cc163.net/wmps/consolemsg.htm
服務器忽略了 N 個數据包.和上一條提示類似.服務器收到的數据包被認為是無用的垃圾數据數据. 這類數据多是由攻擊類的程序產生的.
這條提示如果 N 比較小的時候可以忽略.但如果經常或是長時間出現3位數据以上的這類提示.就很有可能是服務器受到了垃圾數据類的帶寬攻擊了.
藍光DVD
作者:cross 日期:2007-01-25 21:29
DVD光碟片比較表:
分類 | 傳統DVD | Bluray Disk (BD) | HD DVD |
燒錄技術 | 紅光 | 藍光 | 藍光 |
雷射波長 | 650nm | 405nm | 405nm |
支援解析度 | 480p(NTS) / 576p(PAL) | 720p, 1080i, 1080p | 720p, 1080i ,1080p |
容量 | 4.7GB (單層) 8.5GB (雙層) | 25GB (單層) 50GB (雙層) 100GB(雙面雙層) | 15GB (單層) 30GB (雙層) 45GB (單面雙層) |
| 互動選單 | Java | iHD |
診斷電腦是否符合Blu-ray或HD DVD光碟格式播放的硬體需求
http://tw.cyberlink.com/twn/press_room/view_1169.html
Snort-Inline 更新
作者:cross 日期:2007-01-24 11:37
官網已更新到 snort_Inline-2.6.1.2-BETA1 (2007-01-22 19:17)
http://nchc.dl.sourceforge.net/sourceforge/snort-inline/snort_inline-2.6.1.2-BETA1.tar.gz
Q: Not Using PCAP_FRAMES
A: export PCAP_FRAMES=max
ref: http://www.snort.org/docs/snort_htmanuals/htmanual_2.4/rc1/node27.html
xargs指令
作者:cross 日期:2007-01-19 20:27
HA + heartbeat-director
作者:cross 日期:2007-01-10 10:44
為了備援 Director主機
安裝負載平衡
參考: http://ssorc.tw/index.php?load=read&id=205
安裝備援
參考: http://ssorc.tw/index.php?load=read&id=204
接著修改 Master & Slaver的 haresources
vi /etc/ha.d/haresources
cross.ssorc.tw IPaddr::192.168.1.88/32/eth0/192.168.1.88 ldirectord
記得事先停用 ldirectord
測式 master
service network stop



