Hi Luc,
i try to check one vm for average memory usage through get-stat
i found
while i checked the smethingthrough task manger
can you suggest something why these two dont match .
currently iam using reltime in get-stat.
Yes, the Realtime interval is a 20 seconds interval.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Let me try to explain in a couple of lines.
A more detailed explanation would most probably take a couple of page or a compete chapter in a book :smileygrin:
I hope this clarifies a bit
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
i got most of it
is there any way from powerclito get below (without changing stats level but in realtime)
"the memory percentage the Task manager shows is obtained inside the guest OS "
You mean a shorter interval than 20 seconds?
If yes, that can be done with Get-EsxTop which uses by default a 5 second interval (but which is a bit more cumbersome to work with).
If you mean the performance metrics as the Task Manager shows, then you would need to look at the Get-Counter cmdlet.
This is not a PowerCLI cmdlet and needs to connect to the target over the network (which assumes such a connection exists) or needs to be run inside the Guest OS (think Invoke-VMScript).
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
i mean 20 seconds only as real time for get-stat is for 20seconds only(i think this is corect)
let me check get-counter .
Yes, the Realtime interval is a 20 seconds interval.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference