Sun Java System Messaging Server 6 2005Q4 管理指南

使用 counterutil 提供 IMAP、POP 和 HTTP 連線統計

可以使用指令 counterutil -oCounterObject -i 5 -n 10 取得目前 IMAP、POP 以及 HTTP 連線數、失敗登入數、自啟動時間以來的總連線數等的資訊。其中,CounterObject 表示計數器物件 popstatimapstathttpstatimapstat 字尾的涵義顯示在表 23–2 中。popstathttpstat 物件可以使用相同的格式和結構提供相同的資訊。

表 23–2 counterutil imapstat 統計

字尾 

說明 

currentStartTime

目前 IMAP 伺服器程序的起始時間。 

lastConnectionTime

上次接受新用戶端的時間。 

maxConnections

IMAP 伺服器處理的並行運作連線的最大數目。 

numConnections

目前 IMAP 伺服器服務的連線總數。 

numCurrentConnections

目前使用中連線的數目。 

numFailedConnections

目前 IMAP 伺服器服務的失敗連線數目。 

numFailedLogins

目前 IMAP 伺服器服務的失敗登入次數。 

numGoodLogins

目前 IMAP 伺服器服務的成功登入次數。