Hi,
is there any way to get specific statistical data from he command line like one can get it in the GUI?
e.g. if I want to get the average "memory granted" from June. 20th 2008 10:00:00 till June 21st 2008 10:00:00.
raoulst
When I closed the powershell window and reopened it I could connect to vc 2.5.0 U2.
When I tried to do: Get-ResourcePool pcr | Get-Stat
That worked (!).
When I try to get specific memory details, useful outputs are returned. e,g,:
Get-ResourcePool pcr | Get-Stat -Stat mem.granted.average
raoulst
When I said I get usefull output, I might have to narrow that a little.
"Get-ResourcePool pcr | Get-Stat -Stat mem.swapused.average"
Doesn't output anything at all, ehich is consistent with what the GUI is showing, i.e. nothing.
A little bit more interesting is the output of:
Get-ResourcePool pcr | Get-Stat -Stat mem.usage.average
which is:
mem.usage.average 7/31/2008 2:30:00 PM -9.475771E+09 %
mem.usage.average 7/31/2008 2:00:00 PM -8.471823E+09 %
mem.usage.average 7/31/2008 1:30:00 PM -6.90416E+09 %
mem.usage.average 7/31/2008 1:00:00 PM -8.557722E+09 %
mem.usage.average 7/31/2008 12:30:0... -9.609989E+09 %
mem.usage.average 7/31/2008 12:00:0... -1.142998E+10 %
mem.usage.average 7/31/2008 11:30:0... -9.363029E+09 %
mem.usage.average 7/31/2008 11:00:0... -9.287866E+09 %
mem.usage.average 7/31/2008 10:30:0... -8.810052E+09 %
mem.usage.average 7/31/2008 10:00:0... -1.069984E+10 %
when I enable the memory stats for any resourcepool in the GUI, simply no graphs are shown at all. No matter if it's the only key that I have selected or if I selected it together with others.
But that seems to be a VC issue and the tools are simply showing, the values that VC thinks to have.
raoulst