It’s possible to search through seastat command output on the VIOS using the –s flag. You specify the following attributes with this flag: searchtype=value.
Valid search values include:
mac, priority, vlan, ip, host,
greaterbytessent (gbs), greaterbytesrecv (gbr),
greaterpktssent (gps), greaterpktsrecv (gpr),
smallerbytessent (sbs), smallerbytesrecv (sbr),
smallerpktssent (sps), smallerpktsrecv (spr)
For example, to search for a particular host:
$ seastat -d ent19 -s host=aixvioc1
================================================================================
Advanced Statistics for SEA
Device Name: ent19
================================================================================
MAC: 42:BA:1D:00:B9:0C
----------------------
VLAN: None
VLAN Priority: None
Hostname: aixvioc1.xyz.com
IP: 10.1.1.7
Transmit Statistics: Receive Statistics:
-------------------- -------------------
Packets: 11630504 Packets: 16040250
Bytes: 12106445229 Bytes: 3629657696
================================================================================
To search for a particular IP address:
$ seastat -d ent19 -n -s ip=10.1.1.9
================================================================================
Advanced Statistics for SEA
Device Name: ent19
================================================================================
MAC: 2A:8C:8B:7C:D0:0C
----------------------
VLAN: None
VLAN Priority: None
IP: 10.1.1.9
Transmit Statistics: Receive Statistics:
-------------------- -------------------
Packets: 30517 Packets: 14900
Bytes: 36280372 Bytes: 1751127
================================================================================
Tags:
vios
seastat
powervm
vio
chris_gibson
virtual_io_server