HowTo find CPU Utilization on Mellanox switches

Version 10

    (This HowTo is applies to all SwitchX based systems with MLNX-OS)

     

    To find CPU Utilization use the following CLI command in MLNX-OS:

     

    switch (config) # show  resources

          Total      Used      Free

           Physical  2027 MB    584 MB   1443 MB

           Swap         0 MB      0 MB      0 MB

     

           Number of CPUs:    1

           CPU load averages: 3.49 / 3.39 / 3.19


         CPU 1

            Utilization:               18%

            Peak Utilization Last Hour: 20% at 2012/08/27 10:02:33

            Avg. Utilization Last Hour: 18%

    switch (config)#

     

    Via SNMP use HOST-RESOURCES-MIB (see example below)

    OID is 1.3.6.1.2.1.25.3.3.1.2

             1.jpg