Subscribe

How to get memory utilization and CPU utilization using Netapp ONTAP API 8.1?

Hi,

I want to get CPU utilization and memory utilization of storage system using ONTAP API 8.1, NMSDK 5.1.

I used systemGetInfoRequest and Response APIs but didn't able to get cpu and memory utilization.

How do I get this information?

rle Former NetApp Employee

Re: How to get memory utilization and CPU utilization using Netapp ONTAP API 8.1?

Hi Vishwas,

Please look at the perf category APIs.  There are examples in the NMSDK download, although you might have to do some language translation.

Regards,

   - Rick -

Re: How to get memory utilization and CPU utilization using Netapp ONTAP API 8.1?

can you guide me by providing some sample code please??

rle Former NetApp Employee

Re: How to get memory utilization and CPU utilization using Netapp ONTAP API 8.1?

Hi Vishwas,

I just posted some performance code examples for clustered Data ONTAP on my blog.  I think you will find it useful.

I now sure what you're looking for with memory utilization, but you should be able to get CPU utilization.  Remember that you will want to obtain CPU utilization for each controller node in the controller.

Regards,

   - Rick -

Re: How to get memory utilization and CPU utilization using Netapp ONTAP API 8.1?

Thanks Rick..

Do I get any example using java??

rle Former NetApp Employee

Re: How to get memory utilization and CPU utilization using Netapp ONTAP API 8.1?

Hi Vishwas,

Sorry, I do not have Java examples,  You will have to suss this out for yourself.

Regards,

   - Rick -