vsx resctrl

Description

Shows and configures the CPU Resource Control.

Note - You must enable VSXClosed Virtual System Extension. Check Point virtual networking solution, hosted on a computer or cluster with virtual abstractions of Check Point Security Gateways and other network devices. These Virtual Devices provide the same functionality as their physical counterparts. Resource Control Monitoring (vsx resctrl monitor enable) to see data about CPU usage for each Virtual SystemClosed Virtual Device on a VSX Gateway or VSX Cluster Member that implements the functionality of a Security Gateway. Acronym: VS. 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 DeviceClosed Logical object that emulates the functionality of a type of physical network object. Virtual Device can be on of these: Virtual Router, Virtual System, or Virtual Switch. - 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

  • 0 (zero) indicates that the command executed successfully.

  • Any other value indicates an error.

Notes

Example 1

[Expert@MyChassis-ch0x-0x:0]# vsx resctrl -d stat

 

This option will be active only after 24 hours of monitoring

Monitoring active time: 2 minutes 11 seconds

[Expert@MyChassis-ch0x-0x:0]#

Example 2

[Expert@MyChassis-ch0x-0x: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@MyChassis-ch0x-0x:0]#