-
Notifications
You must be signed in to change notification settings - Fork 449
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
Ohai uptime plugin hangs in Windows. #876
Ohai uptime plugin hangs in Windows. #876
Conversation
end | ||
|
||
## Windows newer versions category here includes server OS starting from Windows Server 2008 ## | ||
shared_context "WMI class to use to fetch system uptime for newer versions of Windows platform" do |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you make the names of the shared context's more brief? that's a lot of words with only one in the middle that is different. It should be easier to tell the difference just looking at them.
Done. |
👍 |
@Aliasgar16 before I merge this can you just toss a sentence or two into the PR description explaining why we'd want to do this? |
@tas50 I have modified the description of the PR. Let me know your feedback. |
Thanks @Aliasgar16 |
Ohai uptime plugin hangs in Windows, solution:
Win32_OperatingSystem
for newer versions of Windows.Win32_PerfFormattedData_PerfOS_System
for older versions of Windows.WMI class is from where we retrieve the system's uptime for Windows platform.