I find stats to be a hugely fascinating tool. The stats command is covered in man stats, but a quick overview is
stats list objects
Find the object you are interested in
stats list instances <optional argument of the object you are interested in>
find the instance you are interested in or use * for everything. For example instance of the object aggregate would be aggr0.
Next
stats list counters <optional argument of the object you are interested in>
This will allow you to build the construct you described
"stats show disk:*:disk_busy" = stats show <object>:<instance>:<counters>
You also have the option to do intervals with stats show -i 5 (for show every 5 seconds.)
If someone has documentation giving descriptions of every type of object please post a link as that would be hugely informative.
-----Original Message----- From: toasters-bounces@teaparty.net [mailto:toasters-bounces@teaparty.net] On Behalf Of Jeff Cleverley Sent: Wednesday, August 24, 2011 2:24 PM To: toasters@teaparty.net Subject: Command syntax
Greetings,
I haven't been able to post for quite a while so I'm quite happy things look good (assuming my post goes through). I thought I'd try breaking up the discussions about the domain name and test emails with a NetApp question :-)
I was reading comments about reallocate with regards to a blog and someone posted this command to run:
"stats show disk:*:disk_busy"
I don't recall ever seeing anything about special constructs or functionality using the colon delimited fields. If this is available I'm guessing there might be other cool tricks available also.
Does anyone know where there is documentation on how to use this?
Thanks,
Jeff