niantic_stats

Prev Next

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
  • For 3100, 3200, 5100, 5200, 7100, 7150, 7250, and 7350 Sensors, the port numbers range from integer values 0 to 1.
  • For 3500, 7200, 7300, and 7500 Sensors, the port numbers range from integer values 0 to 3.
  • For 9100, 9200, 9300 Sensors, the port numbers range from integer values 0 to 15.
  • For 9500 Sensor, the port numbers range from integer values 0 to 11.
  • For VM-600 Sensor, the port numbers range from integer values 0 to 5.
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