Skip to content

packet counter

Wataru Ishida edited this page Aug 29, 2018 · 1 revision

Packet counter is available from OOPTOS v0.6.0

$ systemctl start minikube
$ systemctl start oopt
$ export REDIS_UNIX_SOCKET_PATH=/var/run/redis/redis.sock
$ counterpoll port enable
$ show interfaces counters
      IFACE    STATE    RX_OK    RX_BPS    RX_UTIL    RX_ERR    RX_DRP    RX_OVR    TX_OK    TX_BPS    TX_UTIL    TX_ERR    TX_DRP    TX_OVR
-----------  -------  -------  --------  ---------  --------  --------  --------  -------  --------  ---------  --------  --------  --------
Ethernet1_1        X        1       N/A        N/A         0         1         0        0       N/A        N/A         0         0         0
Ethernet1_2        X        2       N/A        N/A         0         2         0        0       N/A        N/A         0         0         0
Ethernet1_3        X        0       N/A        N/A         0         0         0        0       N/A        N/A         0         0         0
Ethernet1_4        X        0       N/A        N/A         0         0         0        0       N/A        N/A         0         0         0
  Ethernet2        X        0       N/A        N/A         0         0         0        0       N/A        N/A         0         0         0
  Ethernet3        X        0       N/A        N/A         0         0         0        0       N/A        N/A         0         0         0
  Ethernet4        X        0       N/A        N/A         0         0         0        0       N/A        N/A         0         0         0
  Ethernet5        X        0       N/A        N/A         0         0         0        0       N/A        N/A         0         0         0
  Ethernet6        X        0       N/A        N/A         0         0         0        0       N/A        N/A         0         0         0
  Ethernet7        X        0       N/A        N/A         0         0         0        0       N/A        N/A         0         0         0
  Ethernet8        X        0       N/A        N/A         0         0         0        0       N/A        N/A         0         0         0
  Ethernet9        X        0       N/A        N/A         0         0         0        0       N/A        N/A         0         0         0
 Ethernet10        X        0       N/A        N/A         0         0         0        0       N/A        N/A         0         0         0
 Ethernet11        X        0       N/A        N/A         0         0         0        0       N/A        N/A         0         0         0
 Ethernet12        X        0       N/A        N/A         0         0         0        0       N/A        N/A         0         0         0
 Ethernet13        X        0       N/A        N/A         0         0         0        0       N/A        N/A         0         0         0
 Ethernet14        X        0       N/A        N/A         0         0         0        0       N/A        N/A         0         0         0
 Ethernet15        X        0       N/A        N/A         0         0         0        0       N/A        N/A         0         0         0
 Ethernet16        X        0       N/A        N/A         0         0         0        0       N/A        N/A         0         0         0
 Ethernet17        X        0       N/A        N/A         0         0         0        0       N/A        N/A         0         0         0
 Ethernet18        X        0       N/A        N/A         0         0         0        0       N/A        N/A         0         0         0
 Ethernet19        X        0       N/A        N/A         0         0         0        0       N/A        N/A         0         0         0
 Ethernet20        X        0       N/A        N/A         0         0         0        0       N/A        N/A         0         0         0
 Ethernet21        X        0       N/A        N/A         0         0         0        0       N/A        N/A         0         0         0
 Ethernet22        X        0       N/A        N/A         0         0         0        0       N/A        N/A         0         0         0
 Ethernet23        X        0       N/A        N/A         0         0         0        0       N/A        N/A         0         0         0
 Ethernet24        X        0       N/A        N/A         0         0         0        0       N/A        N/A         0         0         0
 Ethernet25        X        0       N/A        N/A         0         0         0        0       N/A        N/A         0         0         0
 Ethernet26        X        0       N/A        N/A         0         0         0        0       N/A        N/A         0         0         0
 Ethernet27        X        0       N/A        N/A         0         0         0        0       N/A        N/A         0         0         0
 Ethernet28        X        0       N/A        N/A         0         0         0        0       N/A        N/A         0         0         0
 Ethernet29        X        0       N/A        N/A         0         0         0        0       N/A        N/A         0         0         0
 Ethernet30        X        0       N/A        N/A         0         0         0        0       N/A        N/A         0         0         0
 Ethernet31        X        0       N/A        N/A         0         0         0        0       N/A        N/A         0         0         0
 Ethernet32        X        0       N/A        N/A         0         0         0        0       N/A        N/A         0         0         0

Currently, you need to manually enable packet counter by using counterpoll everytime redis container is rebooted. This will be fixed in future release.

Clone this wiki locally