若畏驗證 IBM Support Assistant 代理程式是否在執行中,您必須驗證其賴以為基礎的一般代理程式是否在執行中。本節說明如何使用 agentcli 來驗證一般代理程式是否在執行中。
CA_HOME\runtime\agent\agentcli connector alive
其中,CA_HOME 是一般代理程式安裝目錄
CA_HOME/runtime/agent/agentcli.sh connector alive
cd C:\Program Files\Tivoli\ep\runtime\agent
agentcli -host name.austin.ibm.com -port 9510 connector alive
cd /opt/tivoli/ep/runtime/agent
agentcli -host name.austin.ibm.com -port 9510 connector alive
–host 和 –port 引數指定您要檢查的一般代理程式的主機名稱和連線埠。
如果在指令提示下執行 agentcli 指令,則會傳回下列其中一個字串: