Info |
---|
This article describes how to debug the windows ps section. |
Status |
---|
colour | Green |
---|
title | LAST TESTED ON CHECKMK 2.0.0P1 |
---|
|
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 |
---|
|
agents/wnx/src/engine/providers/ps.cpp |
The query is:
Code Block |
---|
|
Get-WmiObject -Query "SELECT * from Win32_Process" |
Code Block |
---|
|
Measure-Command { Get-WmiObject -Query "SELECT * from Win32_Process" | foreach
{ $_.GetOwner().User } |
Related articles
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 5 |
---|
spaces | KB |
---|
showSpace | false |
---|
sort | modified |
---|
reverse | true |
---|
type | page |
---|
cql | label in ( "ps" , "windows" ) and type = "page" and space = "KB" |
---|
labels | windows ps |
---|
|