Hello,
I found that the packet counts given by entstat -d SEA is not the same as the total of the packet counts given by seastat -d SEA for the same interval of time.
Do anyone have an explanation for the difference. We recently got a recommendation that the throughput on an SEA should not exceed 250,000 packets/second, and we were wondering which one of the statistics we could monitor between entstat and seastat. Below is an example of the difference in count:
# lsdev | grep Shared
ent15 Available Shared Ethernet Adapter
ent18 Available Shared Ethernet Adapter
# chdev -l ent18 -a accounting=enabled
ent18 changed
Reset of the stats
seastat -d ent18 -c
entstat -r ent18
sleep 60;
seastat -d ent18 |grep Packets | awk '{ SUM += $2} END { print SUM " packets_Transmit_per_second" }'
seastat -d ent18|grep Packets | awk '{ SUM += $4} END { print SUM " packets_Receive_per_second" }'
entstat -d ent18
RESULTS seastat
1016 packets_Transmit_per_second
1748 packets_Receive_per_second
RESULTS entstat
Transmit Statistics: Receive Statistics:
-------------------- -------------------
Packets: 3329 Packets: 4135
Bytes: 1938358 Bytes: 2348071
Interrupts: 33 Interrupts: 3229