- Products
- Learn
- Local User Groups
- Partners
- More
Quantum Spark Management Unleashed!
Introducing Check Point Quantum Spark 2500:
Smarter Security, Faster Connectivity, and Simpler MSP Management!
Check Point Named Leader
2025 Gartner® Magic Quadrant™ for Hybrid Mesh Firewall
HTTPS Inspection
Help us to understand your needs better
CheckMates Go:
SharePoint CVEs and More!
I'm looking for Bash command to show the number of permitted (licensed) cores of any Check Point GAiA system, even when CoreXL is not enabled.
Thanks in advance!
I created this one-liner:
case `cpstat os | grep "Appliance Name" | tr -s ' ' | cut -c17-21` in Check) grep -c ^processor /proc/cpuinfo;; *) cplic print -p 2>/dev/null | tr ' ' '\n' | grep fw1:6.0:mc_all_ | cut -c 16- | awk '{ sum += $1 } END { print sum }';; esac
and added it to our Common Check Point Commands (ccc) script.
Scripting is cool, but why not simplify it, by using the good old CLI command?
fw ctl get int fwlic_num_of_allowed_cores
fwlic_num_of_allowed_cores = 16
It’s encoded in the license string, which means cplic print -p should show it.
I created this one-liner:
case `cpstat os | grep "Appliance Name" | tr -s ' ' | cut -c17-21` in Check) grep -c ^processor /proc/cpuinfo;; *) cplic print -p 2>/dev/null | tr ' ' '\n' | grep fw1:6.0:mc_all_ | cut -c 16- | awk '{ sum += $1 } END { print sum }';; esac
and added it to our Common Check Point Commands (ccc) script.
On my system, the above command shows I am licensed for 16 cores, which I know to be false.
My system has two CPSG-CPSM-EVAL licenses, each of which contains 8 cores.
Also, one of the licenses is expired
Licensed cores are NOT additive, either.
Licensed cores are NOT additive?
What is this SmartUpdate message meaning then:
I added a 4-Core license to an 8-Core Eval license and are told to licensed for 12 cores now. This means licensed cores are additive, no?
Technically they're not supposed to be.
Well.. I can see CoreXL technically using all 12 cores.
might be just a glitch with eval license
The Eval licenses has been "stackable" for a long time, actually.
I'm not 100 percent sure if that is also true for Production licenses, because I have never had any "proper" licenses to play around with... ;-), but I have seen in the "License String" of "Production" licenses that they have 2 x CPSG-C8-U in the beginning so I would think that you might be able to "stack" production licenses as well. I will update after I have tested that as well... 🙂
That said, just because you CAN do it doesn't mean that is is in fact allowed by the EULA/License rules...
Technically this was the only way to license more than 8 cores before bigger core number came out
I found another issue with my one-liner when SMT is enabled:
The license contains just a string for 8 cores. However, with SMT enabled 16 cores are shown on the system and CoreXL actively uses them. Looks like I need to advance my one-liner a little more.
Did you try rebooting this system. Number of cores is checked during boot against the license. Any chance you have had eval and did not reboot after it expired?
In case gateway is using "new" license string where some features cannot be found in cp.macro, it gives you following output:
[Expert@GWA:0]# cplic print -p | tr ' ' '\n' | grep fw1:6.0:mc_all_ | cut -c 16- | awk '{ sum += $1 } END { print sum }'
Warning: Can't find ::CPSB-CTNT in cp.macro. License version might be not compatible
8
Its okay, eval license might contain more features than known and supported with the version you use
Jozko Mrkvicka : Could you please try if the following command resolves the Warning message?
cplic print -p 2>/dev/null | tr ' ' '\n' | grep fw1:6.0:mc_all_ | cut -c 16- | awk '{ sum += $1 } END { print sum }'
Hi Danny Jung,
Yes, it is solved now
[Expert@GWA:0]# cplic print -p 2>/dev/null | tr ' ' '\n' | grep fw1:6.0:mc_all_ | cut -c 16- | awk '{ sum += $1 } END { print sum }'
8
[Expert@GWA:0]#
You can update CCC with this updated syntax.
Thank you.
Added in version 3.3 of our Common Check Point Commands (ccc) script.
Lol, was about to answer just that
Scripting is cool, but why not simplify it, by using the good old CLI command?
fw ctl get int fwlic_num_of_allowed_cores
fwlic_num_of_allowed_cores = 16
On my 1490, that command returns 100000
On my regular gateway (which runs the standard All-in-One eval), it returns 16.
100000 - that's the way to go
Leaderboard
Epsum factorial non deposit quid pro quo hic escorol.
User | Count |
---|---|
15 | |
9 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
2 | |
2 |
Wed 03 Sep 2025 @ 11:00 AM (SGT)
Deep Dive APAC: Troubleshooting 101 for Quantum Security GatewaysThu 04 Sep 2025 @ 10:00 AM (CEST)
CheckMates Live BeLux: External Risk Management for DummiesWed 10 Sep 2025 @ 11:00 AM (CEST)
Effortless Web Application & API Security with AI-Powered WAF, an intro to CloudGuard WAFWed 10 Sep 2025 @ 11:00 AM (EDT)
Quantum Spark Management Unleashed: Hands-On TechTalk for MSPs Managing SMB NetworksWed 03 Sep 2025 @ 11:00 AM (SGT)
Deep Dive APAC: Troubleshooting 101 for Quantum Security GatewaysThu 04 Sep 2025 @ 10:00 AM (CEST)
CheckMates Live BeLux: External Risk Management for DummiesWed 10 Sep 2025 @ 11:00 AM (EDT)
Quantum Spark Management Unleashed: Hands-On TechTalk for MSPs Managing SMB NetworksAbout CheckMates
Learn Check Point
Advanced Learning
YOU DESERVE THE BEST SECURITY