Configuring Swap-in Sample Rate
The swap-in rate measures how much memory per second that the system swaps-in from disk. You can configure how frequently the system calculates the swap-in rate. For example, a sample rate of 5 means that the system calculates the swap-in rate five minute intervals.
Syntax
# vsxmstat swap <minutes>
Parameter
|
Description
|
<minutes>
|
Number of minutes that the system measures memory swaps to determine the swap-in rate. Only integers are valid values.
The default swap-in sample rate is 10.
|
Example
# vsxmstat swap 5
Output
Swap-in sample rate was changed successfully to 5 minutes.
Comments
Swap-in sample rate is a system wide Linux setting. When you change the value for memory monitoring, all the swap-in rates are calculated according to the new value.
When you enable the monitoring memory resources feature, the swap-in rate setting is saved. When you disable the feature, the system restores the saved setting.
|