This command is used to show or clear the statistics of packets and bytes for the NIC ports in the Sensor.
Note
If you observe any errors or memory leaks in the niantic_stats show command output, you must tune the packet capture filters.
Syntax:
niantic_stats <show|clr><<0-n>|all>
| Parameter | Description |
|---|---|
| show | Shows the packets and bytes statistics for the NIC ports |
| clr | Clears the packets and bytes statistics for the NIC ports |
| n |
|
| all | Either shows or clears the statistics for all the NIC ports |
Sample Output:
IntruDbg#> niantic_stats show 4
Writing in PID 49929
EAL: ######################## NIC statistics for port 4 ########################
EAL: TX-packets: 780622 TX-errors : 0 TX-bytes : 87428520
EAL: RX-packets: 26 RX-errors : 0 RX-bytes : 2652
EAL: RX-crcerrs: 0 RX-nombuf errs: 0 RX-missed: 0
EAL: RX-lenerrs: 0 RX-rucerrs : 0 RX-roc : 0
EAL: Q0 RX-pkts: 26 RX-bytes : 2652 RX-drop : 0
EAL: Q0 TX-pkts: 546448 TX-bytes : 59015240
EAL: Q1 RX-pkts: 0 RX-bytes : 0 RX-drop : 0
EAL: Q1 TX-pkts: 78059 TX-bytes : 8430372
EAL: Q2 RX-pkts: 0 RX-bytes : 0 RX-drop : 0
EAL: Q2 TX-pkts: 78058 TX-bytes : 8430264
EAL: Q3 RX-pkts: 0 RX-bytes : 0 RX-drop : 0
EAL: Q3 TX-pkts: 78057 TX-bytes : 8430156
EAL: Q4 RX-pkts: 0 RX-bytes : 0 RX-drop : 0
EAL: Q4 TX-pkts: 0 TX-bytes : 0
EAL: ############################################################################
Applicable to:
NS-series and Virtual IPS Sensors