Code:
yyy@HMCxxx:~> lsnportlogin -m xxx --filter "lpar_names=abc"
lpar_name=abc,lpar_id=17,profile_name=abc,slot_num=112,wwpn=c050760671b10018,wwpn_status=1,logged_in=client,wwpn_status_reason=null
lpar_name=abc,lpar_id=17,profile_name=abc,slot_num=112,wwpn=c050760671b10019,wwpn_status=0,logged_in=none,wwpn_status_reason=null
lpar_name=abc,lpar_id=17,profile_name=abc,slot_num=212,wwpn=c050760671b1001a,wwpn_status=1,logged_in=client,wwpn_status_reason=null
lpar_name=abc,lpar_id=17,profile_name=abc,slot_num=212,wwpn=c050760671b1001b,wwpn_status=0,logged_in=none,wwpn_status_reason=null
lpar_name=abc,lpar_id=17,profile_name=abc,slot_num=312,wwpn=c050760671b1001c,wwpn_status=1,logged_in=client,wwpn_status_reason=null
lpar_name=abc,lpar_id=17,profile_name=abc,slot_num=312,wwpn=c050760671b1001d,wwpn_status=0,logged_in=none,wwpn_status_reason=null
lpar_name=abc,lpar_id=17,profile_name=abc,slot_num=412,wwpn=c050760671b1001e,wwpn_status=1,logged_in=client,wwpn_status_reason=null
lpar_name=abc,lpar_id=17,profile_name=abc,slot_num=412,wwpn=c050760671b1001f,wwpn_status=0,logged_in=none,wwpn_status_reason=null