測試效能

 

smtp-source

連線到主機的tcp 25,以連續或平行的方式,傳送一或多則訊息。衡量伺服器的性能。

cross@ssorc.tw從localhost:25寄了10封信給cross2@ssorc.tw,指令如下:

   smtp-source -s 20 -l 5120 -m 100 -c -f cross@ssorc.tw -t cross2@ssorc.tw localhost:25

-s 20個平行的連線階段

-l 5kb大小訊息

-m 共100則訊息

-c 顯示計數器

-f from

-t to

host

port 

smtp-sink

監聽主機與埠號,它從網路收取訊息然後將這些訊息丟掉。衡量客戶端與網路的效能。

測試postfix送信速度,指令如下:

   smtp-sink -c localhost:25 1000

 

qshape

Print Postfix queue domain and age distribution
指令如下:

   qshape -s deferred|
 

pfqueue – A queue realtime scanner for MTA

下載 wget http://nchc.dl.sourceforge.net/sourceforge/pfqueue/pfqueue-0.5.3.tar.gz

安裝

./configure

make install
執行

. pfqueue

Related posts 相關文章
postfix 怎麼記錄信件主旨於 maillog 中
More...
讓 Plesk 的 Postfix 使用 Domain Key、SPF
More...
postfix 利用 postfwd2 限制寄信數量
More...
Postfix 如何讓某個帳號跑另一個 IP 寄信出去
More...

作者

留言

撰寫回覆或留言

發佈留言必須填寫的電子郵件地址不會公開。