Have you tried stats show lun ??? I don't have lun's so it's hard for me to tell, but I've found this format useful for parsing stuff (not just getting stats).
--- Brian.Beaird@cat.com wrote:
Is there a way to change the command-line output display format in Data ONTAP? I plan to write some scripts to collect some data from certain commands, but the way things are output (i.e. splitting things up into multiple lines) makes parsing somewhat difficult. For example:
ARRAY*> lun show -m LUN path Mapped to LUN ID Protocol
-----------------------------------------------------------------------
/vol/LUNS/11 servera 11 FCP serverb 11 FCP /vol/LUNS/12 serverc 12 FCP serverd 12 FCP
Is there a way to make this simpler so that each line has all the details? It wouldn't be as nice to look at, but scripting would definitely be easier.
Brian Beaird
____________________________________________________________________________________ Be a better sports nut! Let your teams follow you with Yahoo Mobile. Try it now. http://mobile.yahoo.com/sports;_ylt=At9_qDKvtAbMuh1G1SQtBI7ntAcJ