4.2 Retrieving Host Status Information
To get status information for a specific host, use the following URL:
http://<platform-host>:<webinterface-port>/webapi/<version>/hosts/ <ip-address>
Example - Host status information
$ curl -X GET "http://localhost:9000/webapi/v1/hosts/10.46.10.127" -u mzadmin:dr
Response
See the following example of content that is included in the HTTP response:
Example - Response content including information for all hosts and picos
<host> <context-switches-per-second>4807</context-switches-per-second> <disabled>false</disabled> <swapped-diskblocks-per-second>0</swapped-diskblocks-per-second> <ip-address>10.46.10.127</ip-address> <sleeping-processes>0</sleeping-processes> <swapped-processes>-1</swapped-processes> <system-time-cpu>3</system-time-cpu> <user-time-cpu>1</user-time-cpu> <waiting-processes>0</waiting-processes> </host>