< Home

display resource resource-usage

Function

The display resource resource-usage command displays the current resource usage of the virtual system.

Format

display resource resource-usage [ all-systems | vsys vsys-name ] [ resource-item { bandwidth { entire | inbound | outbound } | online-user | policy | security-group | session | ipsec-tunnel | l2tp-tunnel | session-rate | ssl-vpn-concurrent | user | user-group } ]

display resource resource-usage [ vsys vsys-name ] resource-item { ipv6 session | ipv6 session-rate }

display resource resource-usage resource-item traffic-policy

Parameters

Parameter Description Value
all-systems Displays the resource usage of all system. -
vsys vsys-name Displays the resource usage of the specified virtual system. It must be the name of an existing virtual system.
resource-item Displays the usage of the specified resource item. -
bandwidth Displays the bandwidth usage. -
entire Indicates limitation on the entire traffic of the virtual system. -
inbound Indicates limitation on the incoming traffic of the virtual system. -
outbound Indicates limitation on the outgoing traffic of the virtual system. -
online-user

Displays the number of online users.

-
policy Displays the number of policies. -
traffic-policy Displays the number of traffic policies. -
security-group Displays the number of security groups. -
session Displays the number of IPv4 sessions. -
ipv6 session Displays the number of IPv6 sessions. -
session-rate Displays the new IPv4 session rate. -
ipv6 session-rate Displays the new IPv6 session rate. -
ipsec-tunnel Display IPSec tunnel resources. -
l2tp-tunnel

Display L2TP tunnel resources.

-
ssl-vpn-concurrent

Displays the number of concurrent SSL VPN users.

-
user Displays the number of users. -
user-group Displays the number of user groups. -

Views

All views of the public system and virtual systems

Default Level

1: Monitoring level

Usage Guidelines

Application Scenarios

When a resource type is bound to a virtual system, you must run the display resource resource-usage command to check the resource usage of each virtual system to make timely adjustment if the configuration of the number of resource items is inconsistent with the actual service. For example, if the used number of a resource item approaches or reaches the maximum value, you must promptly adjust the maximum number of the resource item to a larger value to avoid service exceptions due to insufficient number of resources. If the used number of a resource item falls far below the guaranteed value, you can adjust the guaranteed number of the resource item to a smaller value to release these resources to by used by other virtual systems.

Prerequisites

The command can be used only after you run the vsys enable command to enable the virtual system function.

Configuration Impact

Run the display resource resource-usage command in the root system to display the resource usage of the root system.

In a virtual system, you can only run the display resource resource-usage command to display the resource usage of the current virtual system.

Example

# Display information about the virtual system .

<sysname> display resource resource-usage vsys abc
 Resource usage information table:abc (r1)                                      
 -------------------------------------------------------------------------------
                        Reserved/Actual          Maximum/Actual       Actual-Usage                                                                              
 session                  200000/200000           300000/300000       10000         
                                                                                
 session-rate                  0/0                     -/-            0         
                                                                                
 ipv6 session                  0/0                     0/0            0         
                                                                                
 ipv6 session-rate             0/0                     -/-            0         
                                                                                
 bandwidth(Mbps)                                                                
  -inbound                     0/0                     -/-            0         
                                                                                
  -outbound                    0/0                     -/-            0         
                                                                                
  -entire                      0/0                     -/-            0         
                                                                                
 policy                      500/500                   -/-            30         
 
 traffic-policy                -/-                   500/500          0         
                                                                                
 ssl-vpn-concurrent            0/0                     -/-            0         
                                                                                
 online-user                   0/0                     0/0            0         
                                                                                
 user                          0/0                     -/-            0         
                                                                                
 user-group                    0/0                     -/-            0         
                                                                                
 security-group                0/0                     -/-            0                                                                                         
 l2tp-tunnel                   0/0                     0/0            0         
                                                                                
 ipsec-tunnel                  0/0                     0/0            0         
                                                                                 
-------------------------------------------------------------------------------
- 
Table 1 Description of the display resource resource-usage command output

Item

Description

Resource usage information table:abc (r1) r1 indicates the name of the resource class bound to the virtual system. If no resource class is bound to the virtual system, this item is displayed as null.
Reserved Indicates the guaranteed value.
Maximum Indicates the maximum value.
Actual Indicates the actual value.
Actual-Usage

Indicates the actual resource usage.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >