What are the table names which provide information related to agents whether they are running or not for Automation engine Agents (Master, OAE Remote agents) and Communication processes and Work processes (Whether these are running or not ) ?
SELECT OH_Name,(CASE HOST_Active WHEN '0' then 'inactive' WHEN '1' then 'running'END)FROM OH, HOSTWHERE OH_Idnr = HOST_OH_IdnrAND OH_Otype IN ('HOST', 'SERV')AND OH_Name NOT LIKE '<%>'
:SET &AGENT_STATUS# = SYS_HOST_ALIVE("MyAgent")
:SET &SRV_STATUS# = SYS_SERVER_ALIVE("AE#WP001")