for sea in `lsdev -C |grep Shared |awk '{print $1}'` do echo $sea echo "------" entstat -d $sea |grep -iE "State|Primary|Backup|Virtual Adapter|Priority|High Availability Mode|LAN State|Port VLAN ID|VLAN Tag ID|Link Status|Media Speed|Switch ID|Keep-Alive|Limbo|Real Adapter|Control Channel Adapter" |grep -iEv "Actor|Partner" done