How Is "Swap Usage" activity calculated by the cdm probe in Solaris

book

Article ID: 11948

calendar_today

Updated On:

Products

DX Infrastructure Management NIMSOFT PROBES

Issue/Introduction

How to verify the swap usage calculation by cdm probe on the Solaris platform



How Is "swap usage" activity calculated by the cdm probe in Solaris 

Environment

UIM 8.x, cdm 5.x

Resolution

Swap usage is found using the system call swapctl() by cdm probe on Solaris

CDM gathers swap information in a similar way as the Solaris utility "swap -l" does, but using pages instead of blocks. 

To compare the swap information between CDM and the "swap" utility you take the blocks "swap" reports and run it through the formula: 

 

(blocks * 512) / (1024 * 1024) = total_swap MB. 

This is the same number of MB the CDM probe uses in its calculations. 

 

Additional Information

See attachment "Solaris_swap_calculation.docx"

Attachments

1558534483036TEC1982757.zip get_app