cpstat

Description

Shows Check Point statistics for applications.

Syntax

cpstat [-p <port>] [-s <SICname>] [-f <flavor>] [-o <polling>] [-c <count>] [-e <period>] [-x] [-j] [-d] application_flag <flag>

Parameters

Parameter

Description

-p <port>

Port number of the server. The default is the standard server port (18192).

-s <SICname>

Secure Internal Communication (SIC) name of the server.

-f <flavor>

The flavor of the output (as it appears in the configuration file). The default is the first flavor found in the configuration file.

-o <polling>

Polling interval (seconds) specifies the pace of the results.

The default is 0, meaning the results are shown only once.

-c <count>

Specifies how many times the results are shown. The default is 0, meaning the results are repeatedly shown.

-e <period>

Specifies the interval (seconds) over which 'statistical' olds are computed. Ignored for regular olds.

-x

XML output mode

-j

Json output mode

-d

Debug mode.

<flag>

One of these applications is displayed:

One of the following:

fw- Firewall component of the Security Gateway

vpn- VPN component of the Security Gateway

fg- QoS (formerly FloodGate-1)

ha- ClusterXL (High Availability)

os- OS Status

mg- for the Security Management Server

persistency- for historical status values

polsrv

uas

svr

cpsemd

cpsead

asm

ls

ca

Return Value

0 on success, 1 on failure

Example

cpstat -c 3 -o 3 fw

Output

Success shows OK. Failure shows an appropriate error message.

The following flavors can be added to the application flags:

  • fw- "default", "interfaces", "all", "policy", "perf", "hmem", "kmem", "inspect", "cookies", "chains", "fragments", "totals", "ufp", "http", "ftp", "telnet", "rlogin", "smtp", "pop3", "sync"

  • vpn- "default", "product", "IKE", "ipsec", "traffic", "compression", "accelerator", "nic", "statistics", "watermarks", "all"

  • fg- "all"

  • ha- "default", "all"

  • os- "default", "ifconfig", "routing", "memory", "old_memory", "cpu", "disk", "perf", "multi_cpu", "multi_disk", "all", "average_cpu", "average_memory", "statistics"

  • mg- "default"

  • persistency- "product", "Tableconfig", "SourceConfig"

  • polsrv- "default", "all"

  • uas- "default"

  • svr- "default"

  • cpsemd- "default"

  • cpsead- "default"

  • asm- "default", "WS"

  • ls- "default"

  • ca- "default", "crl", "cert", user", "all"