As far as I am aware there is no such command to get SP Utilization via command line.
If you have Unisphere Analyzer enabled, you can check that proper SP Properties > Statistics (wait for a minute or two) you will see the SP Utilization.
NOTE: Again, this would be the utilization since the last statistics reset or of course reboot (In Uni/Navisphere, right click SP -> Reset Statistics)
Just to clarify, I am simply noting where the "Reset Statistics" option resides, but when following along in the example above, do not "Reset Statistics" (unless of course that is your intention when gathering the pit) as this would make the second delta in the calculation meaningless (in the context of an average).
I just reread my post and wanted to clarify as it could be misunderstood that I am suggesting in the steps above to reset statistics.
Someday I'll figure out why I don't get an "Edit" button for my own posts.
There is actually a Primus that is still with Status: In progress but has curiously been pending approval since November of last year. It should be publicly available though once approved (Audience: Customer).
emc282783: "How do I determine SP utilization with naviseccli"
The text currently reads:
[...] There is no naviseccli command to directly reflect the exact utilization that is shown in the GUI. The utilization in the GUI is essentially an average value taken over the update interval period (default 60s). The problem with the related commands available is that they are gathering data since the last reboot. A workaround is possible with the getcontrol command that should give an accurate utilization reading over a certain time period. We can figure out the delta (change) in busy/idle ticks and then work out a percentage as follows:
{broken links}
Run the getcontrol –cbt command and record the busy ticks (busy) and idle ticks (idle), then after 60s (as the GUI does) run the command again to capture busy1 and idle1. Input the values into the formula to determine the SP utilization. This will produce real up to date values which should be very close to those reported by the GUI. [...]
With the broken links (embedded pictures?), it is a very rough KB article.
Basically what it is suggesting is that the equivalent of the GUI display (Uni/Navisphere -> right click SP -> Properties -> Statistics tab) is a calculation and average over a period of time (2 pit's averaged over 60 seconds) of both:
busyand idle ticks
To gather this information you issue the following commands for the specific SP you are interested in:
Thanks again, Christopher I am aware of the primus just dint feel appropriate as it wasn't approved on a public forum. However, not to worry I have had a word with Rory and we will be working on getting the Primus fixed and see if we can get it approved but till then here is your missing information:
We can figure out the delta (change) in busy/idle ticks and then work out a percentage as follows:
Step 1:Run the getcontrol –cbt command and record the busy ticks (busy) and idle ticks (idle),
Step 2: After 60s (as the GUI does) run the command again to capture busy1 and idle1.
Input the values into the formula to determine the SP utilization. This will produce real up to date values which should be very close to those reported by the GUI.
Doh... yeah I'm back to math 101. We want the utilization between the 60 second period (and not the average since the last statistics reset) so yeah ignore my calculations and we need the deltas between pit's 1 and 2. Then plug them into the formula.
AnkitMehta
4 Apprentice
•
1365 Posts
1165
0
Posted July 2nd, 2012 12:00
As far as I am aware there is no such command to get SP Utilization via command line.
If you have Unisphere Analyzer enabled, you can check that proper SP Properties > Statistics (wait for a minute or two) you will see the SP Utilization.
Christopher Imes, What do you say?