bpmcli -c getElements -portal portal_web_server -login user_id -lass password
find the number of CPUs on a server using PSL?
Below for solaris
execute("OS",cpucount);
Query the patrol console
collect data from the agent using dump_hist command:
PLUM1,AS_AVAILABILITY,PLUM1_3181,HostPingFailures,2010,11,08,09:11:13,0
PLUM1,AS_AVAILABILITY,PLUM1_3181,HostPingFailures,2010,11,08,09:11:45,0
PLUM1,AS_AVAILABILITY,PLUM1_3181,HostPingFailures,2010,11,08,09:11:17,0
PLUM1,AS_AVAILABILITY,PLUM1_3181,HostPingFailures,2010,11,08,09:11:49