Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support to report the total number of CPU cores per CPU Socket #78

Closed
4 tasks done
tenthirtyam opened this issue Jan 25, 2023 · 1 comment · Fixed by #87
Closed
4 tasks done

Add support to report the total number of CPU cores per CPU Socket #78

tenthirtyam opened this issue Jan 25, 2023 · 1 comment · Fixed by #87
Assignees
Labels
enhancement Enhancement
Milestone

Comments

@tenthirtyam
Copy link
Collaborator

tenthirtyam commented Jan 25, 2023

Code of Conduct

  • I have read and agree to the project's Code of Conduct.
  • Vote on this issue by adding a 👍 reaction to the original issue initial description to help the maintainers prioritize.
  • Do not leave "+1" or other comments that do not add relevant information or questions.
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.

Description

Add support to report the total number of CPU cores per CPU Socket:

  • Output: Console
    • All commissioned ESXi hosts.
    • Save to CSV

Use Case(s)

Useful for reporting on physical CPU cores as the subscription metric.

Potential Configuration

To be determined; however, would be based on the use of Get-VCFHost which does return the physical CPU core count and the socket count can be obtained for each commissioned host.

PS F:\PowerValidatedSolutions> (Get-VCFHost -id e5d807ce-dd34-4919-8b58-8649b2366ec4).cpu | ConvertTo-JSON -Depth 20
{
    "frequencyMHz":  55999.94921875,
    "usedFrequencyMHz":  1373.0,
    "cores":  28,
    "cpuCores":  [
                     {
                         "frequencyMHz":  1999.998046875,
                         "model":  "intel",
                         "manufacturer":  "Intel(R) Xeon(R) CPU E5-2660 v4 @ 2.00GHz"
                     },
                     {
                         "frequencyMHz":  1999.998291015625,
                         "model":  "intel",
                         "manufacturer":  "Intel(R) Xeon(R) CPU E5-2660 v4 @ 2.00GHz"
                     }
                 ]
}

References

No response

@tenthirtyam tenthirtyam added enhancement Enhancement report/overview Overview Report labels Jan 25, 2023
@tenthirtyam tenthirtyam added this to the v1.1.0 milestone Jan 25, 2023
@tenthirtyam tenthirtyam self-assigned this Jan 25, 2023
@github-actions github-actions bot added the pending-review Pending Review label Jan 25, 2023
@tenthirtyam tenthirtyam removed pending-review Pending Review report/overview Overview Report labels Jan 30, 2023
@tenthirtyam tenthirtyam changed the title Add support to report the total number of physical CPU cores Add support to report the total number of CPU cores per CPU Socket Feb 1, 2023
@github-actions
Copy link

I'm going to lock this issue because it has been closed for 30 days. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 10, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Enhancement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant