Argument |
Description |
Important Notes |
none |
Collects the CPInfo output file |
- The output file will be created in the current working directory
with this name: <HostName>_<DD_MM_YYYY_HH_mm>.info
|
-h |
Shows the built-in help and exits |
|
-v |
Shows the CPInfo version and exits |
|
-y all | <product> |
Shows installed hotfixes (either all, or for a specific product) |
|
-l |
Includes the export of the $FWDIR/log/fw.log records in the CPInfo file |
- This will cause additional CPU load and memory consumption
|
-k |
Includes the contents of FireWall and SecureXL kernel tables in the CPInfo file (outputs of fw tab -t <table>, fwaccel conns) |
- This will cause additional CPU load and memory consumption
|
-c <Domain_Name> |
Generates the CPInfo file for the specified Domain Management Server |
- Applies only to Multi-Domain Management Server
- Allows to collect CPInfo (and MDS export on R80 or above)
per certain Domain without having to switch to its context
|
-o <filename> |
Writes the collected information to the specified output file |
- Creates output file named
<filename>.info , unless this file extension was already specified
- If "
-o " is not specified, then file named <HostName_DD_MM_YYYY_HH_mm.info > is created in the current working directory (example for file created on machine "R77.30-GW", on 05 Oct 2016, at 15h 04m - R77.30-GW_5_10_2016_15_04.info)
- Can be used in combination with "
-z "
- Can be used in combination with "
-i "
- Can NOT be used in combination with "
-n "
|
-z |
Compresses the CPInfo output file |
- Used in combination with "
-o "
- If the "Allow Upload" consent flag is enabled (sk111080),
then the file is compressed by default (even without "-z ")
|
-i |
Non-interactive mode |
- CPInfo does not ask for the "SR Number"
- Can be used in shell scripts for automation
- Should be used in combination with "
-n " or "-R "
- Can NOT be used in combination with "
-a "
|
-a |
Forces the update check of the CPInfo utility (by default, it is checked once a week) |
- Can NOT be used in combination with "
-d "
- Can NOT be used in combination with "
-i "
|
-d |
Specifies not to check for updates of CPInfo utility |
- Can NOT be used in combination with "
-a "
|
-D |
Specifies not to upload files to Check Point Cloud |
- Can NOT be used in combination with "
-f " or "-w " or "-e "
|
-n |
Specifies not to collect and create the CPInfo file |
- Should be used in combination with "
-f " or "-w "
- Can NOT be used in combination with "
-o "
|
-f <file> |
Uploads additional files to Check Point Cloud |
- Should be used in combination with "
-n " and "-i "
- Either specify a single file:
file Or specify multiple files: file1 file2 file3 ... (multiple files must be separated by spaces)
- Also refer to "
-w "
- If the file to be uploaded is not compressed,
then CPInfo utility will first compress it, and then upload it
|
-w <filename> |
Specifies a file that contains a list of files to be uploaded to Check Point Cloud |
- Used instead of "
-f "
- Lines in this file must be separated by the "\n" character
(press Enter after each line)
|
-s <SR_Number> |
Specifies the number of the Service Request opened with Check Point Support |
- For example, -s 28-123456789
|
-u <username> |
Connects to Check Point User Center with the specified username |
<username> is your e-mail used for User Center login
- User will be asked to enter a password
- If "
-u " is not used, then CK of this machine is used for authentication
- Also refer to "
-K <CK_Number> "
- cannot be used in combination with –i flag
|
-K <CK_Number> |
Connects to Check Point User Center with the specified CK Number |
- Used instead of "
-u "
- Run the "
cplic print " command and take only the hex digits after the "CK- "
- Exists since Build 914000164
|
-e <e-mail> |
Specifies the e-mails of people that should be notified about the upload status of the CPinfo file |
- Either specify a single e-mail:
user@exampledomain.com
- Or specify multiple e-mails:
"user1@exampledomain.com;user2@exampledomain.com;..."
- must be enclosed in double-quotes
- must be separated by semi-colons
|
-R |
Removes the local CPinfo output files from the current user's home directories |
|
-T <timeout> |
Specifies the timeout (in seconds) for the commands executed by the CPInfo utility |
- Applies only to Gaia / SecurePlatform / IPSO / Linux OS
- Default timeout is 5 minutes (300 seconds)
- Value "0" means no timeout
- This does not apply to collection of the CPInfo output file itself
|
-x |
Specifies not to export the management database |
- Applies only to versions R80 or above
- On a Security Management Server - will not collect the migrate export
- On a Multi-Domain Management Server - will not collect an MDS export
|
-j <conf_file> |
Creates a CPInfo configuration file <conf_file> |
- Applies only to Windows OS
- Requires installed Check Point Software on this machine
- Can NOT be used in combination with "
-n "
- Must wait for the CPInfo output file to be collected:
CPInfo output file is collected, and name of each collected section / command / file is saved in this configuration file (which can be edited, so that irrelevant data is not collected)
|
-b |
Runs the CPInfo based on the configuration file that was created with the "-j " option (you can delete irrelevant lines from that file) |
- Applies only to Windows OS
- Requires installed Check Point Software on this machine
|
-g |
Specifies not to resolve network addresses |
- Applies only to Windows OS
- Requires installed Check Point Software on this machine
|
-F
-r |
Includes the Windows Registry in the CPInfo file |
- Applies only to Windows OS
- "
-F " exists since Build 914000164
- "
-r " exists in Build 914000158 and lower
|
-t |
Specifies to collect only the relevant tables |
- Applies only to Windows OS
- Applies only to machine with installed SecureRemote client
|
-N |
Reverts to the state of uploading CPview of the last day |
- It will still will be zipped together with .info file
|
-V <num_days> |
Specifies the number of days of CPview history to be collected |
- 0 days will result in no CPView database upload
- Negative / double number of days is not allowed
- Upon receiving num_days > 0, a warning will be printed that collection of CPView database might take a few minutes ("Collection process might take a few minutes. Please wait until the collection is done.")
- Combination of '-V' and '-N' flag is not allowed
|
-Q |
Run cpinfo in quick mode |
- Run
cpinfo -Q "-h" for more info
- To use the quick mode, you must have the CPSDC package installed. Refer to sk164414.
|