Unix/Linux Go Back    


AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

VIOS entstat versus seastat for SEA

AIX


Tags
entstat, sea, seastat aix, vio, vios

Reply    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 01-16-2017
N8R N8R is offline
Registered User
 
Join Date: Jan 2017
Last Activity: 16 February 2017, 1:40 PM EST
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
IBM VIOS entstat versus seastat for SEA

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:


Code:
# 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

Code:
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


Last edited by rbatte1; 01-16-2017 at 01:01 PM.. Reason: Added CODE tags
Sponsored Links
    #2  
Old Unix and Linux 6 Days Ago
niyazi niyazi is offline
Registered User
 
Join Date: Apr 2010
Last Activity: 16 February 2017, 2:56 PM EST
Posts: 31
Thanks: 0
Thanked 2 Times in 2 Posts
netstat starts counting when the system boots, however sea statistics need to be enabled exclusively. difference between the counters points that sea was enabled after a while system was booted.
Sponsored Links
    #3  
Old Unix and Linux 6 Days Ago
N8R N8R is offline
Registered User
 
Join Date: Jan 2017
Last Activity: 16 February 2017, 1:40 PM EST
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Yes niyazi, that is why i both reset the counters for entstat (-r) and seastat (-c) so that to compare if the values match. And they do not math at all.
    #4  
Old Unix and Linux 6 Days Ago
niyazi niyazi is offline
Registered User
 
Join Date: Apr 2010
Last Activity: 16 February 2017, 2:56 PM EST
Posts: 31
Thanks: 0
Thanked 2 Times in 2 Posts
sorry, i missed that you clear the stats.

so it looks like you have lpar to lpar traffic which does not go through physical network switch. PowerVM is forwarding traffic internally, so seastat counts the packets, however entstat will not count them since they do not actually go over physical interface.
Sponsored Links
    #5  
Old Unix and Linux 6 Days Ago
N8R N8R is offline
Registered User
 
Join Date: Jan 2017
Last Activity: 16 February 2017, 1:40 PM EST
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Thank you. That could be a good explanation, however, did you mean the reverse:
i.e
seastat counts only packets going in/out physical interface
while
entstat counts all packets, even those forwarded internally?
Because I see entstat values are higher than seastat values.
Sponsored Links
    #6  
Old Unix and Linux 6 Days Ago
niyazi niyazi is offline
Registered User
 
Join Date: Apr 2010
Last Activity: 16 February 2017, 2:56 PM EST
Posts: 31
Thanks: 0
Thanked 2 Times in 2 Posts
seastat output is per second, entstat is total. so you need to multiply seastat output by 60. eventually it will make sense.

ps. by lpar to lpar i mean on the same power machine.
Sponsored Links
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
VIOS IP address - separate vlan for vios servers ? vilius AIX 0 10-10-2012 06:09 PM
entstat output "Receive Errors" sam_78_nyc AIX 3 11-14-2011 04:34 AM
Duplicate MACs in seastat kah00na AIX 1 04-28-2011 03:55 PM
entstat: 0909-003 Unable to connect to device Vit0_Corleone AIX 2 04-20-2010 08:18 AM
CTRL+H versus ^? versus BACKSPACE alan UNIX for Dummies Questions & Answers 3 07-23-2003 02:08 PM



All times are GMT -4. The time now is 07:48 AM.