you will need to script it, dump a list of fcaliases into a file and then use their WWN against output from "sh fcns data" to find which ones are not logged-in.
Hello,  I'm running MDS9148 and MDS9509 with NX-OS 5.2.2. Is there any way to get a listing of fc aliases that are not used in a zone. In other words, I need to find all of the fc aliases that have been abandoned. Getting a listing of device aliases seems easy, fc aliases not so much.  Thanks.
Find unused fcalias from CLI in NX-OS 5.2.2