vsx mstat
Description
Shows and configures Memory Resource Control.
Output shows these global memory resources:
-
Memory Total - Total physical memory on the VSX Gateway
Physical server that hosts VSX virtual networks, including all Virtual Devices that provide the functionality of physical network devices. It holds at least one Virtual System, which is called VS0..
-
Memory Free - Available physical memory.
-
Swap Total - Total of swap memory.
-
Swap Free - Available swap memory.
-
Swap-in rate - Total memory swaps per second.
Syntax
|
|
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
-
0 (zero) indicates that the command executed successfully.
-
Any other value indicates an error.
Example 1
|
Example 2
|
Example 3
[Expert@MyChassis-ch0x-0x: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-NGX R65/fw1/conf/memoryinfo.conf [Expert@MyChassis-ch0x-0x:0]# |