- CheckMates
- :
- CheckMates Toolbox
- :
- Scripts
- :
- Licensing overview - One-liner
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Licensing overview - One-liner
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content


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\|(|%|%|%|%|%|%|%|)|'|c
Disclaimer: Check Point does not provide maintenance services or technical or customer support for third party content provided on this Site, including in CheckMates Toolbox. See also our Third Party Software Disclaimer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

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
;- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

In addition, please refer to this new tool:
In addition, please refer to this new tool:
;- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

