Description
Shows and configures Memory Resource Control.
Output shows these global memory resources:
Syntax
vsx mstat help |
vsx mstat [-vs <VSID>] [unit <Unit>] [sort {<Number> | all}] debug disable enable status swap <Minutes> |
Parameters
Parameter |
Description |
---|---|
help |
Shows the built-in usage. |
No Parameters |
Shows the total memory consumption for each Virtual System. |
|
Specifies the Virtual Systems by their IDs. You can specify:
Note - You can combine these options (separate them with spaces). |
|
Specifies the memory measurement unit shown in the command output:
|
|
Sorts the Virtual Systems in the output by their memory size. Specifies the number of Virtual Systems shown in the command output. Use If you do not specify this flag, the Virtual Systems in the output are sorted by their VSID. |
|
Shows memory consumption debug information for each Virtual System by fields, which are defined in the configuration file. |
|
Disables the Memory Resource Control. Note - The change applies immediately and does not require a reboot. |
|
Enables the Memory Resource Control. Note - The change requires a reboot. |
|
Shows the current Memory Resource Control status. |
|
Specifies the swap-in sample rate in minutes. Enter the 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 Notes:
|
Return Values
Example 1
[Expert@MyVsxGW:0]# vsx mstat unit M sort all
VSX Memory Status ================= Memory Total: 7753.95 MB Memory Free: 7168.71 MB Swap Total: 3992.71 MB Swap Free: 3992.71 MB Swap-in rate: 8796093022208.00 MB
VSID | Memory Consumption ======+==================== 0 | 260.79 MB 1 | 0.00 MB
[Expert@MyVsxGW:0]# |
Example 2
[Expert@MyVsxGW:0]# vsx mstat -vs 0 unit G
VSX Memory Status ================= Memory Total: 7.572 GB Memory Free: 7.001 GB Swap Total: 3.899 GB Swap Free: 3.899 GB Swap-in rate: 8589934592.000 GB
VSID | Memory Consumption ======+==================== 0 | 0.255 GB
[Expert@MyVsxGW:0]# |
Example 3
[Expert@MyVsxGW:0]# vsx mstat debug
VSX Memory Status ================= Memory Total: 7940048.00 KB Memory Free: 7339864.00 KB Swap Total: 4088532.00 KB Swap Free: 4088532.00 KB Swap-in rate: 9007199254740992.00 KB
VSID | Private_Clean | Private_Dirty | DispatcherGConn | DispatcherHTab | SecureXL | DispatcherGConn6 | DispatcherHTab6 | SecureXL6 ======+===============+===============+=================+================+=============+==================+=================+=========== 0 | 34456.00 KB | 182104.00 KB | 6.09 KB | 0.00 KB | 51071.91 KB | 0.00 KB | 0.00 KB | 0.00 KB 1 | 0.00 KB | 0.00 KB | 0.00 KB | 0.00 KB | 0.00 KB | 0.00 KB | 0.00 KB | 0.00 KB
Note: To add a field to memory table please uncomment the required field (delete the leading '#') To remove a field from memory table please comment out the required field (add a leading '#') Configuration is done in the file /opt/CPsuite-R80.20/fw1/conf/memoryinfo.conf
[Expert@MyVsxGW:0]# |