瀏覽模式: 普通 | 列表

apache 的 ab 指令作壓力測試

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:            80

Document Path:          /

[閱讀全文]

vmware-server

Linux平台

套件
  1. VMware-server-1.0.1-29996.tar.gz
  2. VMware-mui-1.0.1-29996.tar.gz (管理介面 web management interface)
  3. 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訊息

有關HardDIsk 訊息
smartd[2689]: Device: /dev/hda, FAILED SMART self-check. BACK UP DATA NOW!
   ref: https://twiki.cern.ch/twiki/bin/view/FIOgroup/DiskPrbSmart
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

NET: N messages suppressed.
服務器忽略了 N 個數据包.和上一條提示類似.服務器收到的數据包被認為是無用的垃圾數据數据. 這類數据多是由攻擊類的程序產生的.
這條提示如果 N 比較小的時候可以忽略.但如果經常或是長時間出現3位數据以上的這類提示.就很有可能是服務器受到了垃圾數据類的帶寬攻擊了.


藍光DVD

http://taiwan.cnet.com/cnetlife/digilife/0,2000079913,20114365-2,00.htm

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 更新

官網已更新到 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

標籤: snort

xargs指令

當一個目錄裡的檔案太多,而我卻仍是要刪除它們,該怎麼作
rm: too many arguments 或 rm: Argument list too long)

怎麼作

ls | xargs -0 rm -f

怎麼排成一個名稱一行

ls | xargs -n1


怎麼排成只有一行

cat /etc/passwd | xargs
標籤: xargs

HA + heartbeat-director

為了備援 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

[閱讀全文]

標籤: 負載平衡