Description
Displays the status and statistics information of Check Point applications.
Syntax
cpstat [-d] [-h <Host>] [-p <Port>] [-s <SICname>] [-f <Flavor>] [-o <Polling Interval> [-c <Count>] [-e <Period>]] <Application Flag> |
Note - You can write the parameters in the syntax in any desired order.
Parameters
Parameter |
Description |
---|---|
|
Optional. Runs the command in debug mode. Use only if you troubleshoot the command itself. The output shows the SNMP queries and SNMP responses for the applicable SNMP OIDs. |
|
Optional. When you run this command on a Management Server, this parameter specifies the managed Security Gateway.
The default is |
|
Optional. Port number of the Application Monitoring (AMON) server. The default port is 18192. |
|
Optional. Secure Internal Communication (SIC) name of the Application Monitoring (AMON) server. |
|
Optional. Specifies the type of the information to collect. If you do not specify a flavor explicitly, the command uses the first flavor in the |
|
Optional. Specifies the desired polling interval (in seconds) - how frequently the command collects and shows the information.
Use this parameter together with the " Example: |
|
Optional. Specifies how many times the command runs and shows the results before it stops. You must use this parameter together with the "
Example: |
|
Optional. Specifies the time (in seconds), over which the command calculates the statistics. You must use this parameter together with the " You can use this parameter together with the " Example: |
|
Mandatory. One of these:
|
These flavors are available for the application flags
-------------------------------------------------------------- |Flag |Flavours | -------------------------------------------------------------- |os |default, ifconfig, routing, routing6, | | |memory, old_memory, cpu, disk, perf, | | |multi_cpu, multi_disk, raidInfo, sensors, | | |power_supply, hw_info, all, average_cpu, | | |average_memory, statistics, updates, | | |licensing, connectivity, vsx | -------------------------------------------------------------- |persistency |product, TableConfig, SourceConfig | -------------------------------------------------------------- |thresholds |default, active_thresholds, destinations, | | |error | -------------------------------------------------------------- |ci |default | -------------------------------------------------------------- |https_inspection |default, hsm_status, all | -------------------------------------------------------------- |cvpn |cvpnd, sysinfo, products, overall | -------------------------------------------------------------- |fw |default, interfaces, policy, perf, hmem, | | |kmem, inspect, cookies, chains, | | |fragments, totals, totals64, ufp, http, | | |ftp, telnet, rlogin, smtp, pop3, sync, | | |log_connection, all | -------------------------------------------------------------- |vsx |default, stat, traffic, conns, cpu, all, | | |memory, cpu_usage_per_core | -------------------------------------------------------------- |vpn |default, product, IKE, ipsec, traffic, | | |compression, accelerator, nic, | | |statistics, watermarks, all | -------------------------------------------------------------- |blades |fw, ips, av, urlf, vpn, cvpn, aspm, dlp, | | |appi, anti_bot, default, | | |content_awareness, threat-emulation, | | |default | -------------------------------------------------------------- |identityServer |default, authentication, logins, ldap, | | |components, adquery | -------------------------------------------------------------- |appi |default, subscription_status, | | |update_status, RAD_status, top_last_hour, | | |top_last_day, top_last_week, | | |top_last_month | -------------------------------------------------------------- |urlf |default, subscription_status, | | |update_status, RAD_status, top_last_hour, | | |top_last_day, top_last_week, | | |top_last_month | -------------------------------------------------------------- |dlp |default, dlp, exchange_agents, fingerprint| -------------------------------------------------------------- |ctnt |default | -------------------------------------------------------------- |antimalware |default, scanned_hosts, scanned_mails, | | |subscription_status, update_status, | | |ab_prm_contracts, av_prm_contracts, | | |ab_prm_contracts, av_prm_contracts | -------------------------------------------------------------- |threat-emulation |default, general_statuses, update_status, | | |scanned_files, malware_detected, | | |scanned_on_cloud, malware_on_cloud, | | |average_process_time, emulated_file_size, | | |queue_size, peak_size, | | |file_type_stat_file_scanned, | | |file_type_stat_malware_detected, | | |file_type_stat_cloud_scanned, | | |file_type_stat_cloud_malware_scanned, | | |file_type_stat_filter_by_analysis, | | |file_type_stat_cache_hit_rate, | | |file_type_stat_error_count, | | |file_type_stat_no_resource_count, | | |contract, downloads_information_current, | | |downloading_file_information, | | |queue_table, history_te_incidents, | | |history_te_comp_hosts | -------------------------------------------------------------- |scrub |default, subscription_status, | | |threat_extraction_statistics | -------------------------------------------------------------- |gx |default, contxt_create_info, | | |contxt_delete_info, contxt_update_info, | | |contxt_path_mng_info, GXSA_GPDU_info, | | |contxt_initiate_info, gtpv2_create_info, | | |gtpv2_delete_info, gtpv2_update_info, | | |gtpv2_path_mng_info, gtpv2_cmd_info, all | -------------------------------------------------------------- |fg |all | -------------------------------------------------------------- |ha |default, -------------------------------------------------------------- |polsrv |default, all | -------------------------------------------------------------- |ca |default, -------------------------------------------------------------- |mg |default | -------------------------------------------------------------- |cpsemd |default | -------------------------------------------------------------- |cpsead |default | -------------------------------------------------------------- |ls |default | -------------------------------------------------------------- |PA |default | -------------------------------------------------------------- |
Example 1
[Expert@MyGW:0]# cpstat -f interfaces fw
Network interfaces -------------------------------------------------------------------------------------------------------------------- |Name|IP |Netmask |Flags|Peer name|Remote IP|Topology|Proxy name|Slaves|Ports|IPv6 Address|IPv6 Len| -------------------------------------------------------------------------------------------------------------------- |eth0|192.168.30.40|255.255.255.0| 0| | 0.0.0.0| 4| | | | ::| 0| |eth1| 172.30.60.80|255.255.255.0| 0| | 0.0.0.0| 4| | | | ::| 0| |eth2| 0.0.0.0| 0.0.0.0| 0| | 0.0.0.0| 4| | | | ::| 0| |eth3| 0.0.0.0| 0.0.0.0| 0| | 0.0.0.0| 4| | | | ::| 0| |eth4| 0.0.0.0| 0.0.0.0| 0| | 0.0.0.0| 4| | | | ::| 0| |eth5| 0.0.0.0| 0.0.0.0| 0| | 0.0.0.0| 4| | | | ::| 0| |eth6| 0.0.0.0| 0.0.0.0| 0| | 0.0.0.0| 4| | | | ::| 0| |eth7| 0.0.0.0| 0.0.0.0| 0| | 0.0.0.0| 4| | | | ::| 0| --------------------------------------------------------------------------------------------------------------------
[Expert@MyGW:0]# |
Example 2
[Expert@MyGW:0]# cpstat -f default fw
Policy name: MyGW_Policy Install time: Wed May 23 18:14:32 2018
Interface table --------------------------------------- |Name|Dir|Total |Accept|Deny |Log| --------------------------------------- |eth0|in | 2393126| 32589| 2360537| 52| |eth0|out| 33016| 33016| 0| 0| |eth1|in | 2360350| 0| 2360350| 0| |eth1|out| 0| 0| 0| 0| |eth2|in | 2360350| 0| 2360350| 0| |eth2|out| 0| 0| 0| 0| |eth3|in | 2348704| 0| 2348704| 1| |eth3|out| 0| 0| 0| 0| |eth4|in | 2360350| 0| 2360350| 0| |eth4|out| 0| 0| 0| 0| --------------------------------------- | | |11855896| 65605|11790291| 53| ---------------------------------------
... ... [truncated for brevity] ... ...
[Expert@MyGW:0]# |
Example 3
[Expert@MyGW:0]# cpstat os -f perf -o 2 -c 2 -e 60
Total Virtual Memory (Bytes): 12417720320 Active Virtual Memory (Bytes): 3741331456 Total Real Memory (Bytes): 8231063552 Active Real Memory (Bytes): 3741331456 Free Real Memory (Bytes): 4489732096 Memory Swaps/Sec: - Memory To Disk Transfers/Sec: - CPU User Time (%): 0 CPU System Time (%): 0 CPU Idle Time (%): 100 CPU Usage (%): 0 CPU Queue Length: - CPU Interrupts/Sec: 135 CPUs Number: 8 Disk Servicing Read\Write Requests Time: - Disk Requests Queue: - Disk Free Space (%): 61 Disk Total Free Space (Bytes): 12659716096 Disk Available Free Space (Bytes): 11606188032 Disk Total Space (Bytes): 20477751296
Total Virtual Memory (Bytes): 12417720320 Active Virtual Memory (Bytes): 3741556736 Total Real Memory (Bytes): 8231063552 Active Real Memory (Bytes): 3741556736 Free Real Memory (Bytes): 4489506816 Memory Swaps/Sec: - Memory To Disk Transfers/Sec: - CPU User Time (%): 3 CPU System Time (%): 0 CPU Idle Time (%): 97 CPU Usage (%): 3 CPU Queue Length: - CPU Interrupts/Sec: 140 CPUs Number: 8 Disk Servicing Read\Write Requests Time: - Disk Requests Queue: - Disk Free Space (%): 61 Disk Total Free Space (Bytes): 12659716096 Disk Available Free Space (Bytes): 11606188032 Disk Total Space (Bytes): 20477751296
[Expert@MyGW:0]# |