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
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
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?
While I see that you are a UNIX administrator, you may not be aware that NetApp filers have nearly-full documentation in man pages. The part of the "stats" man page that is directly relevant to your question is probably the information under the heading "An object definition (object_def) is one of the following".
Hope this helps; thanks.
From my experience, the '*' can optionally replace the instance_name in
the construct:
object_name:instance_name:counter_name.
It cannot be used to replace the object_name or counter_name (although not supplying a counter_name is equivalent to an asterisk).
Anyway, the point of this email isn't so much to explain the contents of the man page, but to see how long it takes before I get this email back. The last email I sent took a few hours. I am sending this out at 1:39pm PST Aug 24, 2011.
-George
On 8/24/11 12:54 PM, "Blackburn, James M CTR USA" james.m.blackburn1@us.army.mil wrote:
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?
While I see that you are a UNIX administrator, you may not be aware that NetApp filers have nearly-full documentation in man pages. The part of the "stats" man page that is directly relevant to your question is probably the information under the heading "An object definition (object_def) is one of the following".
Hope this helps; thanks.
Jim Blackburn Information Technology Specialist, ALTESS Radford, Virginia james.m.blackburn1@us.army.mil Note: I am not authorized to obligate, commit, or execute government funds. No part of this message should be construed as a request or directive to obligate, commit, or execute government funds.
Toasters mailing list Toasters@teaparty.net http://www.teaparty.net/mailman/listinfo/toasters
James,
Thanks for the pointer. Of all the posts and emails from support cases, etc, I never saw that syntax used at all. I am aware of the man pages for it and should RTFM first next time. This probably explains why my posts quit going through on the last list :-)
Thanks again,
Jeff
On Wed, Aug 24, 2011 at 1:54 PM, Blackburn, James M CTR USA james.m.blackburn1@us.army.mil wrote:
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?
While I see that you are a UNIX administrator, you may not be aware that NetApp filers have nearly-full documentation in man pages. The part of the "stats" man page that is directly relevant to your question is probably the information under the heading "An object definition (object_def) is one of the following".
Hope this helps; thanks.
Jim Blackburn Information Technology Specialist, ALTESS Radford, Virginia james.m.blackburn1@us.army.mil Note: I am not authorized to obligate, commit, or execute government funds. No part of this message should be construed as a request or directive to obligate, commit, or execute government funds.