DX Unified Infrastructure Management

 View Only

  • 1.  How to capture a process's memory usage "percentage" with dx uim

    Posted May 20, 2025 04:29 PM

    Hi Everyone...!!!

    I need to capture the usage percentage of some processes, I know that the process probe could meet this requirement, but in kb, and I need the percentage.

    Any idea ?



  • 2.  RE: How to capture a process's memory usage "percentage" with dx uim

    Posted May 20, 2025 11:36 PM

    It seems to me that if you can perform the query using commands, you can use logmon to execute the command and graph the output of that command.




  • 3.  RE: How to capture a process's memory usage "percentage" with dx uim

    Posted May 21, 2025 12:45 PM

    Hi Jose

    That's exactly what I do with the Linux operating system. I haven't found a way to do it with Windows, but since I have the process probe, I wanted to see if I could get that data from the same probe. This data is important. I don't understand why Broadcom didn't include it.




  • 4.  RE: How to capture a process's memory usage "percentage" with dx uim

    Broadcom Employee
    Posted May 23, 2025 05:31 AM

    Hi Miller,

    The processes probe uses Windows WMI to obtain process performance details. I've done some research and it looks like the WMI does not provide the predefined class for the Process Memory in %, instead, the working set is the used. 

    The way the task manager displays the percentage information is a simple calculation:

    "

    percentage of a process = (current private working set of a process/ sum of all processes' private working set) * current total memory usage percentage.

    "

    That is why I believe the Percentage value is not available in the Processes probe. However, I think this is a valid use case, and I would recommend raising an enhancement request on our ideation portal. The article below will guide you through the process

    https://knowledge.broadcom.com/external/article/12135/how-to-raise-an-enhancement-request-for.html

    There are potentially some alternative ways of achieving the goal, like collecting the processes working sets and total working set (using logmon), then doing similar calculations using Lua scripts or NAS preprocessing rules, however, that would be an advanced and strong customization, and I do not think that's the valid and optimal method.

    Let me know if you have further questions. 

    Regards

    Bartosz