ONTAP Discussions
ONTAP Discussions
Hi,All:
I often need to query the changes of end customer storage objects, such as Lun show and Vol show. Can I sort according to the creation time and whether ONTAP has such function?
Solved! See The Solution
You did not indicate how you are getting your information.
i could do something like this
ssh admin@netapp “set d ; lun show -fields x,y,z -sort-by x,z”
You did not indicate how you are getting your information.
i could do something like this
ssh admin@netapp “set d ; lun show -fields x,y,z -sort-by x,z”
Plenty of other CLI tricks can be found here:
https://whyistheinternetbroken.wordpress.com/2015/02/16/techbecome-a-clustered-data-ontap-cli-ninja/
Awesome @parisi !
I have this page dedicated to sorting on the CLI: Ever wish you could SORT on the ONTAP CLI? | TMAC's rack (wordpress.com)
Lots of examples.