SmartMIB Small Solution:

Per Process CPU Performance Statistics


(SM-SmallSol007)

Solution’s SOSL Based management process script:

 

The solution defines the following main modules:

 

MainCpuProcessStats:

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

 

MainCpuProcessTable:

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

 

 

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

 


 

MODULE MainCpuProcessStats ();

DESCRIPTION "Device per Process CPU Statistics Main management process";

BEGIN

            POLL-FREQ

            {

                        MODULE-CALL CpuProcessStats();

 

                        WAIT (3000);

            };

END

 


 

MODULE MainCpuProcessTable ();

DESCRIPTION "Device per Process CPU Statistics Main management process";

BEGIN

            POLL-FREQ

            {

                        MODULE-CALL CpuProcessTable();

 

                        WAIT(18000);

            };

END

 


 

MODULE CpuProcessTable ();

DESCRIPTION "";

BEGIN             

 

            ALL-DEV BY DEV

            {         

                        SET-INDEX cpmProcessTable (cpmProcessName

                                                                    [cpmCPUTotalIndex, INT;

                                                                    cpmProcessPID, INT]);

            };

END

 


 

MODULE CpuProcessStats ();

BEGIN

 

           ALL-DEV BY ELEMENT

            { 

                        WITH-INDEX cpmProcessTable

                         {

                                    POLL (cpmProcessTimeCreated; cpmProcessAverageUSecs);

                          };

             };

END

 


Per Process 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]