Print Download PDF Send Feedback

Previous

Next

vsx resctrl

Description

Shows and configures the CPU Resource Control.

Note - You must enable VSX Resource Control Monitoring (vsx resctrl monitor enable) to see data about CPU usage for each Virtual System over SNMP.

Syntax

vsx resctrl --help

vsx resctrl

-d stat

-d -q stat

-u stat

load_configuration

monitor

disable

enable

show

reset

stop

Parameters

Parameter

Description

--help

Shows the built-in usage.

-d stat

Shows CPU consumption for each Virtual Device - raw information including CPU ticks (but only after 24 hours of active monitoring)

-d -q stat

Shows CPU consumption for each Virtual Device - raw information without header line (but only after 24 hours of active monitoring).

-u stat

Shows CPU consumption for each Virtual Device - for each CPU core.

load_configuration

Initializes Resource Control from the $FWDIR/conf/resctrl file.

monitor

Manages the Resource Control Monitor:

  • disable - Disables the Resource Control Monitor
  • enable - Enables the Resource Control Monitor
  • show - Shows the current Resource Control Monitor status

reset

Resets the Resource Control Monitor statistics.

stop

Stops the Resource Control Monitor.

Return Values

Notes

Example 1

[Expert@MyVsxGW:0]# vsx resctrl -d stat

 

This option will be active only after 24 hours of monitoring

Monitoring active time: 2 minutes 11 seconds

[Expert@MyVsxGW:0]#

Example 2

[Expert@MyVsxGW:0]# vsx resctrl -u stat

 

Virtual Systems CPU Usage Statistics [%]

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

 

Number of CPUs: 4

Monitoring active time: 2m 32s

 

ID Name | CPU | 1sec 10sec 1min 1hr* 24hr*

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

0 VSX1 | 0 | 4.90 1.82 1.43 0.00 0.00

| 1 | 0.00 0.19 1.44 0.00 0.00

| 2 | 0.00 0.06 0.13 0.00 0.00

| 3 | 4.50 0.74 0.55 0.00 0.00

| Avg. | 2.35 0.70 0.89 0.00 0.00

-----------------------------+------+----------------------------------

1 VS1 | 0 | 0.00 0.02 0.01 0.00 0.00

| 1 | 0.00 0.14 0.08 0.00 0.00

| 2 | 0.00 0.03 0.10 0.00 0.00

| 3 | 0.00 0.01 0.03 0.00 0.00

| Avg. | 0.00 0.05 0.06 0.00 0.00

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

Total Virtual Devices CPU Use| 0 | 4.90 1.84 1.44 0.00 0.00

| 1 | 0.00 0.33 1.52 0.00 0.00

| 2 | 0.00 0.09 0.23 0.00 0.00

| 3 | 4.50 0.75 0.58 0.00 0.00

| Avg. | 2.35 0.75 0.94 0.00 0.00

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

 

 

Notes: - Monitoring has been active for less than 1 hour.

Statistics are calculated only for monitoring active time.

 

[Expert@MyVsxGW:0]#