Print Download PDF Send Feedback

Previous

Next

Memory Resources for Each Virtual Device

Use the fw vsx mstat command to show the memory that each Virtual Device uses. Use the -vs parameter to show only some of the Virtual Devices.

You can also use these parameters for more data:

Syntax

fw vsx mstat [-vs <VSID>] [unit <measure>] [sort <top>]

Parameter

Description

-vs

Shows the memory usage of the specified Virtual Devices.

<VSID>

The ID of the Virtual Device.

To show multiple devices:

  • Put a space between each VSID: -vs 1 3 5
  • List a range of VSIDs: -vs 1-4

Note: You can combine VSID ranges together with single VSIDs

unit

Change the memory measurement unit shown in the command output.

<measure>

The memory measurement unit. The default value is megabytes.

The values are:

  • B - bytes
  • K, KB - kilobytes
  • M, MB - megabytes (default)
  • G, GB - gigabytes

sort

Sort the results according to the Virtual Devices that use the most memory.

<top>

Enter the maximum number of Virtual Devices to be shown. Only those Virtual Devices that use the most memory are shown.
Use all to show all Virtual Devices.

Example

fw vsx mstat -vs 0 1 3 5-8 unit MB sort 5

fw vsx mstat sort 5

Output (Both examples show the same results)

VSX Memory Status

=================

Memory Total: 997.22 MB

Memory Free: 232.56 MB

Swap Total: 2047.34 MB

Swap Free: 2047.16 MB

Swap-in rate: 0.00 MB

VSID | Memory Consumption

======+====================

0 | 133.50 MB

8 | 92.41 MB

3 | 43.81 MB

6 | 42.47 MB

1 | 42.47 MB