Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

[monitor/processlist] Fix process status in windows #2063

Merged
merged 1 commit into from
Jan 13, 2022

Conversation

manang-splunk
Copy link
Contributor

Description:-
Fixed process status in windows. We are determining the process status depending upon the state of threads as the process' WMI query does not return status. If all the threads are in the waiting state then the process status will be “S” (sleeping) otherwise it will be “R” (running).

Testing:-

  • Added unit tests as per new changes.
  • Tested on windows server 2012

@mstumpfx
Copy link
Contributor

@manang-splunk Can you fix the lint error & try to format the newlines correctly so the diff isn't so drastic?

@manang-splunk manang-splunk force-pushed the processlist branch 3 times, most recently from add57f9 to fc95ce3 Compare January 11, 2022 08:47
@manang-splunk
Copy link
Contributor Author

@manang-splunk Can you fix the lint error & try to format the newlines correctly so the diff isn't so drastic?

@mstumpfx Pushed the changes accordingly.

@mstumpfx
Copy link
Contributor

Thanks for fixing lint & newline issue @manang-splunk

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants