SmartMIB Small Solution:

Device CPU Performance Statistics


(SM-SmallSol009)

Solution’s SOSL Based management process script:

 

The solution defines the following main modules:

 

MainCpuStats:

This is the main module that controls and instantiates the ‘CpuStats’ module.

 

MainCpuTable:

This is the main module that controls and instantiates the ‘CpuTable’ module.

 

The details of the Main modules and the transient Service modules are provided below:

 


 

MODULE MainCpuStats ();

DESCRIPTION "Device CPU Statistics Main process";

BEGIN

            POLL-FREQ

            {

                        MODULE-CALL CpuStats();

 

                        WAIT (3000);

            };

END

 


 

MODULE MainCpuTable ();

DESCRIPTION "Device CPU Statistics Main process";

BEGIN

            POLL-FREQ

            {

                        MODULE-CALL CpuTable();

 

                        WAIT(18000);

            };

END

 


 

MODULE CpuTable ();

DESCRIPTION "Interface INVENTORY information";

BEGIN             

            ALL-DEV BY DEV

            {         

                        SET-INDEX cpmCPUTotalTable (cpmCPUTotal5minRev

                                                                        [cpmCPUTotalIndex, INT]);

            };

END

 


 

MODULE CpuStats ();

DESCRIPTION "CPU Stats Module";

BEGIN

            ALL-DEV BY DEV

            {

                        WITH-INDEX cpmCPUTotalTable

                        {

                                    POLL (cpmCPUTotalPhysicalIndex);

 

                                    ALL-DBRECORDS FOR "cpmCPUTotalPhysicalIndex" BY PhysicalIndex

                                    {

                                                POLL (entPhysicalName; entPhysicalDescr, PhysicalIndex);

                                    };

                        };

            };

END

 


Device CPU Performance Statistics Index Page

Previous Page Page 4/6 Next Page


[Small Solutions], [Professional Solutions], [Security Solutions], [Development Solutions]

[Home], [About], [Solutions Center], [NMS Market], [Products & Services],
[Management Technology], [Technical Support], [Contact us], [Site Map]