DX Infrastructure Manager

Expand all | Collapse all

where CDM counters come on solaris?

  • 1.  where CDM counters come on solaris?

    Posted 05-23-2017 06:23 PM
    Hello regarding CDM technical documentation in Solaris systems, 
    CDM use /proc/stat for cpu and memory counters and /proc/loadavg for PROC_QUEUE_LEN counter,
    but if these files do not exist, how CDM does to get this values?

    Please some help?

    Regards




  • 2.  Re: where CDM counters come on solaris?

    Posted 05-23-2017 07:20 PM

    Actually on Solaris for CPU info cdm uses "/usr/bin/mpstat" command 

     

    For Memory usage it uses system call sysconf(_SC_AVPHYS_PAGES) which gives the number of physical memory pages not currently in use by system which is multiplied by the page size and subtracted from the physical memory.



  • 3.  Re: where CDM counters come on solaris?

    Posted 05-23-2017 07:30 PM

    Thanks a. Lot Phani

     

    load average is into mpstat too or is taken from a diferent file?

     

    again regards



  • 4.  Re: where CDM counters come on solaris?

    Posted 05-23-2017 08:36 PM

    ”/usr/bin/uptime" command is used for load data on Solaris 



  • 5.  Re: where CDM counters come on solaris?

    Posted 05-24-2017 11:41 AM

    Thanks a lot Phani

     

    Best regards