RE: quick question

"Parisi, Justin" <[email protected]>
Newsgroups gmane.comp.hardware.netapp
Message-ID <BYAPR06MB42776226EDF1E3E9AC6D9C558A2C0@BYAPR06MB4277.namprd06.prod.outlook.com>
Not real sure why it's diag level.

If you're interested in other CLI tricks:

https://whyistheinternetbroken.wordpress.com/2015/02/16/techbecome-a-clustered-data-ontap-cli-ninja/ 

-----Original Message-----
From: John Stoffel <[email protected]> 
Sent: Thursday, September 3, 2020 3:43 PM
To: Parisi, Justin <[email protected]>
Cc: Scott Eno <[email protected]>; Toasters <[email protected]>
Subject: RE: quick question

NetApp Security WARNING: This is an external email. Do not click links or open attachments unless you recognize the sender and know the content is safe.




>>>>> "Justin" == Justin Parisi <[email protected]> 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 
Justin> -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 
Justin> -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 <[email protected]>; Toasters <[email protected]>
Justin> Subject: RE: quick question

Justin> Use diag priv.

Justin> From: Scott Eno <[email protected]>
Justin> Sent: Thursday, September 3, 2020 10:13 AM
Justin> To: Toasters <[email protected]>
Justin> Subject: quick question

Justin> Just checking, does "-sort-by" still work?

Justin> cluster::*> storage aggregate show -aggregate * -fields 
Justin> usedsize,size,percent-used -sort-by percent-used

Justin> Error: invalid argument "-sort-by"

Justin> _______________________________________________
Justin> Toasters mailing list
Justin> [email protected]
Justin> https://www.teaparty.net/mailman/listinfo/toasters
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.