<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: One-liner for Remote Access VPN Statistics in Scripts</title>
    <link>https://community.checkpoint.com/t5/Scripts/Remote-Access-VPN-Statistics-One-liner/m-p/81838#M685</link>
    <description>FYI, I got a couple reports internally that the script might not be taking into account expiration dates of licenses, which might cause the license counts to be off, especially if you have multiple evals applied.&lt;BR /&gt;This should be in the cplic print -p output.</description>
    <pubDate>Tue, 14 Apr 2020 17:55:09 GMT</pubDate>
    <dc:creator>PhoneBoy</dc:creator>
    <dc:date>2020-04-14T17:55:09Z</dc:date>
    <item>
      <title>Remote Access VPN Statistics - One-liner</title>
      <link>https://community.checkpoint.com/t5/Scripts/Remote-Access-VPN-Statistics-One-liner/m-p/79047#M624</link>
      <description>&lt;DIV class=""&gt;
&lt;P style="text-align: center;"&gt;&lt;span class="lia-unicode-emoji" title=":woman_technologist:"&gt;👩‍💻&lt;/span&gt;&amp;nbsp;Reviewed by RnD.&lt;BR /&gt;&lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&amp;nbsp;Available as &lt;A href="https://community.checkpoint.com/t5/SmartConsole-Extensions/SmartConsole-Extension-Remote-Access-VPN-Statistics/m-p/81579" target="_self"&gt;SmartConsole Extension&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;One-liner (Bash) to show a summary about the remote access statistics of a VPN gateway.&lt;BR /&gt;&lt;STRONG&gt;Run in SmartConsole as one-time script or from your scripts repository or directly on your Gateway in&amp;nbsp;&lt;U&gt;expert&lt;/U&gt; mode:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;echo; if [[ `if [[ $(cat /etc/cp-release) == *"Embed"* ]]; then grep 1 /opt/fw1/conf/active_blades.txt | tr '[:upper:]' '[:lower:]'; else enabled_blades 2&amp;gt;/dev/null; fi` != *'vpn'* ]]; then echo ' Not a VPN gateway!'; else echo ' REMOTE ACCESS VPN STATS - Current'; printf '%.s-' {1..70}; echo; function f { if [[ "$TERM" == "xterm" ]]; then fw tab -t $1 -s | tail -n1 | awk '{print "\033[0;32m"$4"\033[0m (Peak: "$5")"}'; else fw tab -t $1 -s | tail -n1 | awk '{print $4" (Peak: "$5")"}'; fi; }; function t { [ "$TERM" == "xterm" ] &amp;amp;&amp;amp; tput bold; }; t; echo -n " Assigned OfficeMode IPs    : "; f "om_assigned_ips"; t; echo -n " Capsule/Endpoint VPN Users : "; echo `f "userc_users"` using Visitor Mode: `vpn show_tcpt 2&amp;gt;/dev/null | grep 'Visitor' | tail -n1 | awk '{print $NF}' | sed 's/Mode:/0/'`; t; echo -n " Capsule Workspace Users    : "; f "mob_mail_session"; if [[ `cat /etc/cp-release` != *"Embed"* ]]; then t; echo -n " MAB Portal Users           : "; f "cvpn_session"; fi; t; echo -n " L2TP Users                 : "; f "L2TP_tunnels"; t; echo -n " SNX Users                  : "; f "sslt_om_ip_params"; echo; echo ' LICENSES'; printf '%.s-' {1..70}; t; echo; function s { awk '{ sum += $1 } END { print sum }'; }; function u { echo Unlimited; }; l=`cplic print -p 2&amp;gt;/dev/null | awk --re-interval 'BEGIN{today="date +%s"; today | getline today; } $1 ~ /([1-9][0-9]*\.?){4}/ {if ($2 != "never") {expdate=$2; cmd="date -d " expdate " +%s"; cmd | getline expdate; if (expdate&amp;gt;today) {print} } else {print}}' | tr ' ' '\n'`; echo -n ' SecuRemote Users           : '; if [[ "$l" == *'srunlimited'* ]]; then u; else echo "$l" | grep fw1:6.0:sr | cut -c 11- | s; fi; echo -n ' Endpoint Connect Users     : '; grep -a sc_users $FWDIR/database/fwauth.NDB | tr -dc '[:digit:]\n' | awk '{print $1/5}' | echo $(cat); echo -n ' Mobile Access Users        : '; if [[ "$l" == *'cvpnunlimited'* ]]; then u; else echo "$l" | grep cvpn:6.0:cvpn | cut -c 14- | tr -d 'user' | s; fi; echo -n ' SNX Users                  : '; if [[ "$l" == *'nxunlimit'* ]]; then u; else echo "$l" | grep fw1:6.0:nx | cut -c 11- | s; fi; [ "$TERM" == "xterm" ] &amp;amp;&amp;amp; tput sgr0; unset l; fi; echo&lt;/LI-CODE&gt;
&lt;P&gt;&lt;SPAN&gt;This One-liner is also integrated with our &lt;STRONG&gt;&lt;A href="https://community.checkpoint.com/docs/DOC-2214-common-check-point-commands-ccc" target="_blank" rel="noopener"&gt;ccc script&lt;/A&gt;&lt;/STRONG&gt;.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Thanks to&amp;nbsp;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/7"&gt;@PhoneBoy&lt;/a&gt;&amp;nbsp;for license macro information in &lt;A href="https://community.checkpoint.com/t5/Remote-Access-Solutions/Finding-Mobile-Access-concurrent-user-license-level/td-p/13598" target="_self"&gt;this thread&lt;/A&gt;. [&amp;nbsp;&lt;EM&gt;&lt;A href="https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&amp;amp;solutionid=sk84560" target="_self"&gt;VPN License Guide&lt;/A&gt;&lt;/EM&gt;&amp;nbsp;]&lt;BR /&gt;Thanks to&amp;nbsp;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/18680"&gt;@HristoGrigorov&lt;/a&gt;&amp;nbsp;for SMB support and testing.&lt;BR /&gt;Thanks to &lt;STRONG&gt;CheckMates&lt;/STRONG&gt; for these Remote Access SmartEvent Reports: &lt;A href="https://community.checkpoint.com/t5/Logging-and-Reporting/A-Basic-Remote-Access-Report-for-R80-x/m-p/78322" target="_self"&gt;Basic&lt;/A&gt;, &lt;A href="https://community.checkpoint.com/t5/Visibility-Analytics/SmartView-VPN-Client-enhanced-view/m-p/78873" target="_self"&gt;Enhanced&lt;/A&gt;, &lt;A href="https://community.checkpoint.com/t5/Remote-Access-Solutions/Monitoring-applications-and-data-volume-related-to-remote-access/m-p/79147" target="_self"&gt;Application Monitoring&lt;/A&gt;, &lt;A href="https://community.checkpoint.com/t5/Logging-and-Reporting/Custom-view-for-getting-Remote-Access-User-Stats/m-p/79666" target="_self"&gt;Custom User Stats&lt;/A&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 10 Feb 2026 23:05:47 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/Remote-Access-VPN-Statistics-One-liner/m-p/79047#M624</guid>
      <dc:creator>Danny</dc:creator>
      <dc:date>2026-02-10T23:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: One-liner for Remote Access VPN Statistics</title>
      <link>https://community.checkpoint.com/t5/Scripts/Remote-Access-VPN-Statistics-One-liner/m-p/79105#M625</link>
      <description>&lt;P&gt;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/687"&gt;@Danny&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;great job.&amp;nbsp;I love these oneliners.&lt;/P&gt;
&lt;P&gt;Wolfgang&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Mar 2020 07:23:26 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/Remote-Access-VPN-Statistics-One-liner/m-p/79105#M625</guid>
      <dc:creator>Wolfgang</dc:creator>
      <dc:date>2020-03-23T07:23:26Z</dc:date>
    </item>
    <item>
      <title>Re: One-liner for Remote Access VPN Statistics</title>
      <link>https://community.checkpoint.com/t5/Scripts/Remote-Access-VPN-Statistics-One-liner/m-p/79134#M626</link>
      <description>&lt;P&gt;&lt;EM&gt;great , I was looking for it.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&lt;/EM&gt;&lt;EM&gt;The statistics match for&amp;nbsp; &amp;nbsp;the last hour/day/week ?&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 21 Mar 2020 16:48:14 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/Remote-Access-VPN-Statistics-One-liner/m-p/79134#M626</guid>
      <dc:creator>Alexey_Klichins</dc:creator>
      <dc:date>2020-03-21T16:48:14Z</dc:date>
    </item>
    <item>
      <title>Re: One-liner for Remote Access VPN Statistics</title>
      <link>https://community.checkpoint.com/t5/Scripts/Remote-Access-VPN-Statistics-One-liner/m-p/79154#M628</link>
      <description>Very good! Thanks for sharing.</description>
      <pubDate>Sat, 21 Mar 2020 22:26:16 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/Remote-Access-VPN-Statistics-One-liner/m-p/79154#M628</guid>
      <dc:creator>Victor_MR</dc:creator>
      <dc:date>2020-03-21T22:26:16Z</dc:date>
    </item>
    <item>
      <title>Re: One-liner for Remote Access VPN Statistics</title>
      <link>https://community.checkpoint.com/t5/Scripts/Remote-Access-VPN-Statistics-One-liner/m-p/79161#M629</link>
      <description>These are live statistics from the gateway.&lt;BR /&gt;For historical data, you need reports like: &lt;A href="https://community.checkpoint.com/t5/Remote-Access-Solutions/Monitoring-applications-and-data-volume-related-to-remote-access/m-p/79147#M2739" target="_blank"&gt;https://community.checkpoint.com/t5/Remote-Access-Solutions/Monitoring-applications-and-data-volume-related-to-remote-access/m-p/79147#M2739&lt;/A&gt;&lt;BR /&gt;Or: &lt;A href="https://community.checkpoint.com/t5/Visibility-Analytics/SmartView-VPN-Client-enhanced-view/m-p/78873#M48" target="_blank"&gt;https://community.checkpoint.com/t5/Visibility-Analytics/SmartView-VPN-Client-enhanced-view/m-p/78873#M48&lt;/A&gt;</description>
      <pubDate>Sat, 21 Mar 2020 23:52:58 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/Remote-Access-VPN-Statistics-One-liner/m-p/79161#M629</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2020-03-21T23:52:58Z</dc:date>
    </item>
    <item>
      <title>Re: One-liner for Remote Access VPN Statistics</title>
      <link>https://community.checkpoint.com/t5/Scripts/Remote-Access-VPN-Statistics-One-liner/m-p/79208#M631</link>
      <description>&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 22 Mar 2020 09:14:12 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/Remote-Access-VPN-Statistics-One-liner/m-p/79208#M631</guid>
      <dc:creator>Danny</dc:creator>
      <dc:date>2020-03-22T09:14:12Z</dc:date>
    </item>
    <item>
      <title>Re: One-liner for Remote Access VPN Statistics</title>
      <link>https://community.checkpoint.com/t5/Scripts/Remote-Access-VPN-Statistics-One-liner/m-p/79215#M632</link>
      <description>&lt;P&gt;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/687"&gt;@Danny&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;running in export mode is fine, but from Smartconsole repository some small formatting errors are seen.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SmartConsole.PNG" style="width: 693px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/4998i6E690B5535FD2BBD/image-size/large?v=v2&amp;amp;px=999" role="button" title="SmartConsole.PNG" alt="SmartConsole.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Maybee you can find the problem.&lt;/P&gt;
&lt;P&gt;Wolfgang&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 22 Mar 2020 11:02:16 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/Remote-Access-VPN-Statistics-One-liner/m-p/79215#M632</guid>
      <dc:creator>Wolfgang</dc:creator>
      <dc:date>2020-03-22T11:02:16Z</dc:date>
    </item>
    <item>
      <title>Re: One-liner for Remote Access VPN Statistics</title>
      <link>https://community.checkpoint.com/t5/Scripts/Remote-Access-VPN-Statistics-One-liner/m-p/79229#M633</link>
      <description>&lt;P&gt;Thanks &lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/1447"&gt;@Wolfgang&lt;/a&gt;, I fixed it.&lt;/P&gt;</description>
      <pubDate>Sun, 22 Mar 2020 15:39:52 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/Remote-Access-VPN-Statistics-One-liner/m-p/79229#M633</guid>
      <dc:creator>Danny</dc:creator>
      <dc:date>2020-03-22T15:39:52Z</dc:date>
    </item>
    <item>
      <title>Re: One-liner for Remote Access VPN Statistics</title>
      <link>https://community.checkpoint.com/t5/Scripts/Remote-Access-VPN-Statistics-One-liner/m-p/79230#M634</link>
      <description>&lt;P&gt;It will show also Capsule Workspace connected Users?&lt;/P&gt;
&lt;P&gt;Capsule Workspace it part of MAB Portal Users count?&lt;/P&gt;</description>
      <pubDate>Sun, 22 Mar 2020 16:22:23 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/Remote-Access-VPN-Statistics-One-liner/m-p/79230#M634</guid>
      <dc:creator>Bechor</dc:creator>
      <dc:date>2020-03-22T16:22:23Z</dc:date>
    </item>
    <item>
      <title>Re: One-liner for Remote Access VPN Statistics</title>
      <link>https://community.checkpoint.com/t5/Scripts/Remote-Access-VPN-Statistics-One-liner/m-p/79241#M635</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/7388"&gt;@Bechor&lt;/a&gt;, I've just included stats for Capsule Workspace users as well. &lt;span class="lia-unicode-emoji" title=":heavy_check_mark:"&gt;✔️&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 22 Mar 2020 20:07:31 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/Remote-Access-VPN-Statistics-One-liner/m-p/79241#M635</guid>
      <dc:creator>Danny</dc:creator>
      <dc:date>2020-03-22T20:07:31Z</dc:date>
    </item>
    <item>
      <title>Re: One-liner for Remote Access VPN Statistics</title>
      <link>https://community.checkpoint.com/t5/Scripts/Remote-Access-VPN-Statistics-One-liner/m-p/79313#M636</link>
      <description>That's great! &lt;BR /&gt;Thank you!</description>
      <pubDate>Mon, 23 Mar 2020 08:23:39 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/Remote-Access-VPN-Statistics-One-liner/m-p/79313#M636</guid>
      <dc:creator>Bechor</dc:creator>
      <dc:date>2020-03-23T08:23:39Z</dc:date>
    </item>
    <item>
      <title>Re: One-liner for Remote Access VPN Statistics</title>
      <link>https://community.checkpoint.com/t5/Scripts/Remote-Access-VPN-Statistics-One-liner/m-p/79347#M637</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Untitled.png" style="width: 400px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/5036iBEA0535608D11312/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Untitled.png" alt="Untitled.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Untitled2.png" style="width: 400px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/5037i38495AF77ED92287/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Untitled2.png" alt="Untitled2.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;Hi Danny, thank you for the great one-liner script!&lt;BR /&gt;&lt;BR /&gt;It's certainly helping a lot.&lt;BR /&gt;&lt;BR /&gt;Quick feedback on when running Gateways CG IaaS (VE), the outcome is "Not a firewall gateway!".&lt;/P&gt;
&lt;P&gt;We had to bypassed it by getting rid of the first "if" of the script.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Mar 2020 12:00:24 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/Remote-Access-VPN-Statistics-One-liner/m-p/79347#M637</guid>
      <dc:creator>Eduardo_Pereira</dc:creator>
      <dc:date>2020-03-23T12:00:24Z</dc:date>
    </item>
    <item>
      <title>Re: One-liner for Remote Access VPN Statistics</title>
      <link>https://community.checkpoint.com/t5/Scripts/Remote-Access-VPN-Statistics-One-liner/m-p/79362#M638</link>
      <description>Quality one-liners as always!</description>
      <pubDate>Mon, 23 Mar 2020 13:54:34 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/Remote-Access-VPN-Statistics-One-liner/m-p/79362#M638</guid>
      <dc:creator>PatrikSkoglund</dc:creator>
      <dc:date>2020-03-23T13:54:34Z</dc:date>
    </item>
    <item>
      <title>Re: One-liner for Remote Access VPN Statistics</title>
      <link>https://community.checkpoint.com/t5/Scripts/Remote-Access-VPN-Statistics-One-liner/m-p/79376#M639</link>
      <description>&lt;P&gt;Great script for quick stats,&lt;/P&gt;&lt;P&gt;so are they full day stats? or current stats?&lt;/P&gt;</description>
      <pubDate>Mon, 23 Mar 2020 16:10:01 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/Remote-Access-VPN-Statistics-One-liner/m-p/79376#M639</guid>
      <dc:creator>Saagarg007</dc:creator>
      <dc:date>2020-03-23T16:10:01Z</dc:date>
    </item>
    <item>
      <title>Re: One-liner for Remote Access VPN Statistics</title>
      <link>https://community.checkpoint.com/t5/Scripts/Remote-Access-VPN-Statistics-One-liner/m-p/79379#M640</link>
      <description>&lt;P&gt;Thanks for the tip. I'll add the word '&lt;EM&gt;current&lt;/EM&gt;' to the title. The peak score is an overall status since last reboot of the system.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Mar 2020 06:36:55 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/Remote-Access-VPN-Statistics-One-liner/m-p/79379#M640</guid>
      <dc:creator>Danny</dc:creator>
      <dc:date>2020-03-24T06:36:55Z</dc:date>
    </item>
    <item>
      <title>Re: One-liner for Remote Access VPN Statistics</title>
      <link>https://community.checkpoint.com/t5/Scripts/Remote-Access-VPN-Statistics-One-liner/m-p/79400#M641</link>
      <description>&lt;P&gt;Thanks &lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/27759"&gt;@PatrikSkoglund&lt;/a&gt;! &lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Mar 2020 19:02:36 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/Remote-Access-VPN-Statistics-One-liner/m-p/79400#M641</guid>
      <dc:creator>Danny</dc:creator>
      <dc:date>2020-03-23T19:02:36Z</dc:date>
    </item>
    <item>
      <title>Re: One-liner for Remote Access VPN Statistics</title>
      <link>https://community.checkpoint.com/t5/Scripts/Remote-Access-VPN-Statistics-One-liner/m-p/79413#M642</link>
      <description>&lt;P&gt;Thanks for the &lt;EM&gt;enabled_blades&lt;/EM&gt; tip, &lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/582"&gt;@Eduardo_Pereira&lt;/a&gt;, I just improved the One-liner to check the VPN blade.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Mar 2020 20:20:50 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/Remote-Access-VPN-Statistics-One-liner/m-p/79413#M642</guid>
      <dc:creator>Danny</dc:creator>
      <dc:date>2020-03-23T20:20:50Z</dc:date>
    </item>
    <item>
      <title>Re: One-liner for Remote Access VPN Statistics</title>
      <link>https://community.checkpoint.com/t5/Scripts/Remote-Access-VPN-Statistics-One-liner/m-p/79533#M644</link>
      <description>&lt;P&gt;Great job! Thx for very useful one liner.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Mar 2020 11:07:07 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/Remote-Access-VPN-Statistics-One-liner/m-p/79533#M644</guid>
      <dc:creator>Emanuel_Miut</dc:creator>
      <dc:date>2020-03-24T11:07:07Z</dc:date>
    </item>
    <item>
      <title>Re: One-liner for Remote Access VPN Statistics</title>
      <link>https://community.checkpoint.com/t5/Scripts/Remote-Access-VPN-Statistics-One-liner/m-p/79584#M645</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/687"&gt;@Danny&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;This is a one-liner that I did for a client few days ago to monitor VPN clients and the performance of the appliance. It was a huge appliance with thousands of users.&lt;/P&gt;
&lt;P&gt;It help to find any heavy connections and monitor the connected users real time.&lt;/P&gt;
&lt;P&gt;Have you ever wrote something to find/monitor heavy connections/elephant flows? (VPN or not related).&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="monitor VPN heavy conn.jpg" style="width: 999px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/5127iCB08C099EE0C3677/image-size/large?v=v2&amp;amp;px=999" role="button" title="monitor VPN heavy conn.jpg" alt="monitor VPN heavy conn.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Script:&lt;/P&gt;
&lt;P&gt;watch -n 0.1 "echo ' CPU UTILIZATION'; printf '%.s-' {1..100}; echo;echo;mpstat -P ALL 1 1 | grep -v Average;echo;echo;echo;echo ' ENABLED BLADES'; printf '%.s-' {1..100};echo;enabled_blades;echo;echo;echo ' LAST INSTALLED POLICY'; printf '%.s-' {1..100};echo; fw stat | grep -o '.\{0,5\}2020.\{0,10\}';echo;echo;echo ' NUMBER OF CONNECTED USERS'; printf '%.s-' {1..100};echo;fw tab -t userc_users -s | grep userc_users | awk '{print \$4}';echo;echo ' NUMBER OF OFFICE MODE IPs'; printf '%.s-' {1..100};echo;fw tab -t om_assigned_ips -s | grep om_assigned_ips | awk '{print \$4}';echo;echo ' SHOW HEAVY CONNECTIONS'; printf '%.s-' {1..100}; echo;echo;fw ctl multik print_heavy_conn;echo;"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Attached a printscreen of the outcome as well.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Mar 2020 17:15:09 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/Remote-Access-VPN-Statistics-One-liner/m-p/79584#M645</guid>
      <dc:creator>Eduardo_Pereira</dc:creator>
      <dc:date>2020-03-24T17:15:09Z</dc:date>
    </item>
    <item>
      <title>Re: One-liner for Remote Access VPN Statistics</title>
      <link>https://community.checkpoint.com/t5/Scripts/Remote-Access-VPN-Statistics-One-liner/m-p/79599#M646</link>
      <description>&lt;P&gt;Thanks for sharing your code with us.&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt; I haven't yet created a solution to identify top VPN remote users.&lt;/P&gt;
&lt;P&gt;It's impressive to see what we can bring up together while working from home focusing on getting home workers connected and protected maintaining their businesses during COVID-19.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="corona.gif" style="width: 600px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/5134iDA0C0D6F6B412F20/image-size/large?v=v2&amp;amp;px=999" role="button" title="corona.gif" alt="corona.gif" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Mar 2020 18:53:38 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/Remote-Access-VPN-Statistics-One-liner/m-p/79599#M646</guid>
      <dc:creator>Danny</dc:creator>
      <dc:date>2020-03-24T18:53:38Z</dc:date>
    </item>
  </channel>
</rss>

