Checking and exporting a gateway's "connections" table

From Tech-Wiki
Revision as of 04:49, 22 July 2016 by Linogenco (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Back to Gaia

There are number of ways to check the number of active connection through a gateway.

fw ctl pstat | grep "Concurrent Connections:"

This value can be validiated with the following command:

fw tab -t connections -f -u | grep Rule: | wc -l

** This can take a short while to calculate **

If required the state table can be exported to a file for offline analysys:

fw tab -t connections -f -u | grep Rule: >> <PATH TO FILE>