Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Info


Status
colourGreen
titleLAST TESTED ON CHECKMK 2.0.0P1

Table of Contents


Step-by-step guide

If you want to debug the windows ps section. You will find the whole script for the agent in our Github:

Code Block
languagebash
themeRDark
agents/wnx/src/engine/providers/ps.cpp


The query is:

Code Block
languagebash
themeRDark
Get-WmiObject -Query "SELECT * from Win32_Process" 


Code Block
languagebash
themeRDark
Measure-Command { Get-WmiObject -Query "SELECT * from Win32_Process" | foreach
{ $_.GetOwner().User }

...