Does pyvmonic has the equivalent function of PowerCLI Get-Stat to get statistical information
Open
Nobody has claimed this yet.
question
- Dominant language
- Python
- Stars
- 2.3k
- Forks
- 763
- PR merge metrics
- No merged PRs in 30d
Description
Typically, I want to get the average memory usage of a host during a specified period of time.
I can use powercli to run like
Get-Stat -Entity $host -Start 5/5/2020 -Finish 6 /5/2020 -Stat "mem.usage.average"
Wondering I can implement this with pyvmonic.
Thanks.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file, test, or entry point is named. Start by investigating pyvmomi's vSphere performance-statistics API for the host and time range described, then determine whether it can provide average memory usage comparable to PowerCLI Get-Stat. Done means the supported approach or its absence is clearly documented, with an example if the API supports it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100