4.4 Retrieving Pico Status Information

To get status information for a specific pico, use the following URL:

http://<platform-host>:<webinterface-port>/webapi/<version>/picos/ <name>

Example - Pico status information

$ curl -X GET "http://localhost:9000/webapi/v1/picos/Platform" -u mzadmin:dr

Response

See the following example of content that is included in the HTTP response:

Example - Response content including status information for a specific pico

<pico>
 <cpu-time-percent>0.2</cpu-time-percent>
 <gc-collection-count>0</gc-collection-count>
 <gc-collection-time>0</gc-collection-time>
 <host-address>10.46.10.127</host-address>
 <name>Platform</name>
 <open-file-count>127</open-file-count>
 <thread-count>34</thread-count>
 <total-memory>238616576</total-memory>
 <type>platform</type>
 <used-memory>85804752</used-memory>
</pico>