This script provides interface counters, policy info, as well as top connections. dos2unix + chmod 777 needed before running it.
Lab output:
[Expert@CP-GW:0]# ./cp_quick_load.sh
## Policy summary
HOST IF POLICY DATE TOTAL REJECT DROP ACCEPT LOG
localhost >eth0 LAB-POLICY-Andy 21Jan2026 17:31:59 : 8642671 0 0 8642670 389
localhost <eth0 LAB-POLICY-Andy 21Jan2026 17:31:59 : 8512750 0 30 8512720 5905
localhost >eth1 LAB-POLICY-Andy 21Jan2026 17:31:59 : 16773 0 0 16773 476
localhost >eth2 LAB-POLICY-Andy 21Jan2026 17:31:59 : 16773 0 0 16773 476
## Firewall counters
Policy name: LAB-POLICY-Andy
Install time: Wed Jan 21 17:31:59 2026
Interface table
------------------------------------------
|Name |Dir|Total |Accept |Deny|Log |
------------------------------------------
|eth0 |in | 8641675| 8641675| 0| 389|
|eth0 |out| 8511766| 8511736| 30|5905|
|eth1 |in | 16769| 16769| 0| 476|
|eth1 |out| 0| 0| 0| 0|
|eth2 |in | 16769| 16769| 0| 476|
|eth2 |out| 0| 0| 0| 0|
|eth2.100|in | 0| 0| 0| 0|
|eth2.100|out| 0| 0| 0| 0|
------------------------------------------
| | |17186979|17186949| 30|7246|
------------------------------------------
Interface table (64-bit)
------------------------------------------
|Name |Dir|Total |Accept |Deny|Log |
------------------------------------------
|eth0 |in | 8641675| 8641675| 0| 389|
|eth0 |out| 8511766| 8511736| 30|5905|
|eth1 |in | 16769| 16769| 0| 476|
|eth1 |out| 0| 0| 0| 0|
|eth2 |in | 16769| 16769| 0| 476|
|eth2 |out| 0| 0| 0| 0|
|eth2.100|in | 0| 0| 0| 0|
|eth2.100|out| 0| 0| 0| 0|
------------------------------------------
| | |17186979|17186949| 30|7246|
------------------------------------------
ISP link table
------------------
|Name|Status|Role|
------------------
------------------
## Connection table summary
HOST NAME ID #VALS #PEAK #SLINKS
localhost connections 8158 11 61 10
[Expert@CP-GW:0]#
Best,
Andy