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?
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”
View solution in original post
Plenty of other CLI tricks can be found here:
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.
The NetApp Support Site won an Association of Support Professionals Best Support Website in 2022 award.
Live Chat, Watch Parties, and More!