4.3 Retrieving All Pico Status Information
To get status information for all picos, use the following URL:
http://<platform-host>:<webinterface-port>/webapi/<version>/picos
Example - All picos status information
$ curl -X GET "http://localhost:9000/webapi/v1/picos" -u mzadmin:dr
Response
See the following example of content that is included in the HTTP response:
Example - Response content including status information for all picos
<picos> <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>36</thread-count> <total-memory>238616576</total-memory> <type>platform</type> <used-memory>80909520</used-memory> </pico> <pico> <cpu-time-percent>0.0</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>ec1</name> <open-file-count>21</open-file-count> <thread-count>19</thread-count> <total-memory>238616576</total-memory> <type>ec</type> <used-memory>13745808</used-memory> </pico> </picos>