"Justin" == Justin Parisi Justin.Parisi@netapp.com writes:
So why is this a diag only command? Does it take too much CPU to sort by specific fields? Seems like a fantastic thing to have in regular mode for sure.
Justin> Just to prove it out: Justin> ::*> aggr show -aggregate * -fields usedsize,size,percent-used -sort-by percent-used
Justin> Error: invalid argument "-sort-by"
Justin> ::*> set diag
Justin> Warning: These diagnostic commands are for use by NetApp personnel only.
Justin> Do you want to continue? {y|n}: y
Justin> ::*> aggr show -aggregate * -fields usedsize,size,percent-used -sort-by percent-used
Justin> aggregate percent-used size usedsize
Justin> ------------------------ ------------ ------- --------
Justin> Aggr1_SSD_2 34% 5.24TB 1.79TB
Justin> Aggr1_SSD_1 38% 5.24TB 1.99TB
Justin> Aggr2_SSD_2 42% 5.24TB 2.21TB
Justin> Aggr2_SSD_1 44% 5.24TB 2.32TB
Justin> From: Parisi, Justin Justin> Sent: Thursday, September 3, 2020 10:32 AM Justin> To: Scott Eno cse@hey.com; Toasters toasters@teaparty.net Justin> Subject: RE: quick question
Justin> Use diag priv.
Justin> From: Scott Eno cse@hey.com Justin> Sent: Thursday, September 3, 2020 10:13 AM Justin> To: Toasters toasters@teaparty.net Justin> Subject: quick question
Justin> Just checking, does "-sort-by" still work?
Justin> cluster::*> storage aggregate show -aggregate * -fields usedsize,size,percent-used -sort-by Justin> percent-used
Justin> Error: invalid argument "-sort-by"
Justin> _______________________________________________ Justin> Toasters mailing list Justin> Toasters@teaparty.net Justin> https://www.teaparty.net/mailman/listinfo/toasters