- Products
- Learn
- Local User Groups
- Partners
- More
Check Point WAF TechTalk:
Introduction and New Features
AI Security Masters E5:
Powering Prevention: The AI Driving Check Point’s ThreatCloud
Ink Dragon: A Major Nation-State Campaign
Watch HereAI Security Masters E4:
Introducing Cyata, Securing the Agentic AI Era
CheckMates Go:
CheckMates Fest
One-liner (Bash) to show the licensing table on Check Point Gaia systems.
Login to be able to copy the full code!
In expert mode run:
echo;echo "Licensing table";lic=$(cpstat os -f licensing);echo "$(echo "$lic"|grep "|ID";echo "$lic"|grep "|"|sed '1d'|sed 's/Not Entitled.*/None|0/;'|awk -F"|" '{if($5!=0){print "|"$2"|"$3"|"$4"|"strftime("%c",$5)"|"$6"|"$7"|"$8"|"$9"|"}else{print "|"$2"|"$3"|"$4"|-|"$6"|"$7"|"$8"|"$9"|"}}'|sort -k1)"|sed '1,2 i\|(|%|%|%|%|%|%|%|)|'|column -t -s'|'|sed '/(.*)/ s/./-/g'|sed 's/\bNone\b/\x1b[1;31m&\x1b[m/g;s/\bEvaluation\b/\x1b[1;36m&\x1b[m/g;s/\bEntitled\b/\x1b[1;32m&\x1b[m/g;';echo;echo "$lic"|grep :|grep -v "xpiration\|ctivation";echo -n "Support expiration: ";date -d @$(echo "$lic"|grep :|grep xpiration|awk '{print $NF}') 2>/dev/null;[ $? == 1 ] && echo;echo "$lic"|grep :|tail -n1;unset lic
Integrated with our ccc script.
One-liner (Bash) to show the licensing table on Check Point Gaia systems.
Login to be able to copy the full code!
In expert mode run:
echo;echo "Licensing table";lic=$(cpstat os -f licensing);echo "$(echo "$lic"|grep "|ID";echo "$lic"|grep "|"|sed '1d'|sed 's/Not Entitled.*/None|0/;'|awk -F"|" '{if($5!=0){print "|"$2"|"$3"|"$4"|"strftime("%c",$5)"|"$6"|"$7"|"$8"|"$9"|"}else{print "|"$2"|"$3"|"$4"|-|"$6"|"$7"|"$8"|"$9"|"}}'|sort -k1)"|sed '1,2 i\|(|%|%|%|%|%|%|%|)|'|cGot same on mine, so cool @Danny , your scripts are indeed truly too valuable and helpful.
Andy
Hello Danny,
First of all, let me congratulate you on this one liner since it's a lot useful for me and I'm sure for others as well.
The output on a management is perfect as well.
Do you know if in a vsx platform it will return the number of VS in use and the allowed quota?
Thank you once again,
Pedro Madeira
Hello Danny,
First of all, let me congratulate you on this one liner since it's a lot useful for me and I'm sure for others as well.
The output on a management is perfect as well.
Do you know if in a vsx platform it will return the number of VS in use and the allowed quota?
Thank you once again,
Pedro Madeira
;In addition, please refer to this new tool:
In addition, please refer to this new tool:
;Danny, you are leading the charge to what will be a new Check Point certification, CCLE - Certified Checkpoint Licensing Engineer.
CCLE is a joke folks, but after more than a decade, it does ring true as a super skill.
About CheckMates
Learn Check Point
Advanced Learning
YOU DESERVE THE BEST SECURITY