監視 Rational Focal Point 的指令

在 URL 欄位中指定適當指令,即可從 Web 瀏覽器檢查 IBM® Rational® Focal Point™ 應用程式的狀態。 您必須先啟用 Ping Servlet 選項,然後才能監視應用程式。如需啟用 Ping Servlet 選項的相關資訊,請參閱「啟用 Ping Servlet 的存取權」。
限制: 若為 Rational Focal Point 6.5.1 版以及更新版本,則會啟用 Ping Servlet 安全特性。
您可以使用下表中的指令來監視狀態:
表 1. 監視應用程式狀態的指令
指令 回覆
http://host name:port number/fp/servlet/Ping?cmd=ping
註: 依預設,port number 為 8080。
  • 回應:應用程式和資料庫為作用中且正在執行。
  • 當機或沒有回應:發生問題。

http://host name:port number/fp/servlet/Ping?cmd=stats

http://host name:port number/fp/servlet/Ping?cmd=htmlstats

顯示 XML 或 HTML 檔來說明應用程式狀態。
http://host name:port number/fp/servlet/Ping?cmd=version 顯示應用程式版本。
http://host name:port number/fp/servlet/Ping?cmd=log&mode=text&filename=fp.YYYY-MM-DD.log 顯示在指定日期產生的日誌檔。

如果將模式指定為 text,則會以文字格式顯示日誌。若要下載該檔案,請將模式指定為 gz

若要存取 SystemOut.log 檔,請以下列格式指定詳細資料:server name/SystemOut.log
IBM WebSphere Application Server: 確定已使用正確的日誌位置來配置 fp-logging.properties 檔。
http://host name:port number/fp/servlet/Ping?cmd=threaddump 顯示執行緒傾出。
http://host name:port number/fp/servlet/Ping?cmd=threads 顯示執行緒的相關資訊。
http://host name:port number/fp/servlet/Ping?cmd=properties 顯示系統資訊。

建議與意見