Is there API to implement functionality under system monitor tab?

Is there API in MIP SDK to obtain information under system monitor tab? Such as getting the cpu/mem usage of recording server etc.

No, unfortunately we do not have an API for system monitor. I will pass on your request though so that it might be considered for future releases.

We also have performance counters for most of the values shown in System Monitor. Try using perfmon tool coming with Windows to have an overview of what is available. How to access them from code you will need to look up in documentation from Microsoft.

Hi Peter,

Happy new year!

Thanks for the ideas. We’ll have a try. When searching “cpu usage” in SDK, there is VideoOS.Platform.Admin.ItemManager.GetItemStatusDetails which returns a xml string containing “cpu usage” “mem free” etc info. What’s its functionality? We tried to call it. However it returned NULL. Not sure if this API work or we didn’t use it propertly. Could you help to confirm?

Hi Karol,

Happy new year to you as well.

The GetItemStatusDetails is a method that can be overwritten by a plugin to provide extra status information about a custom item. This will then be available on the Smart Client MAP plugin. The xml provided in the documentation is just an example of what could be put in this information.

But for your use it is not relevant. Your best option will be the performance counters, but I have never tried consuming these from code myself - only watching them in perfmon - so you will have to look up that yourself. Should be fairly easily available though as it is standard Windows functionality.

Best regards,

Peter