要验证 IBM Support Assistant Agent 是否正在运行,需要验证它所基于的 Common Agent 是否正在运行。本节描述如何使用 agentcli 来验证 Common Agent 是否正在运行。
CA_HOME\runtime\agent\agentcli connector alive
其中 CA_HOME 是指 Common Agent 安装目录
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 参数指定您想检查的 Common Agent 的主机名和连接端口。
如果在命令提示符处运行 agentcli 命令,那么它将返回下列字符串之一: