Documentation

Rendered for windows/amd64

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetWin32Proc

func GetWin32Proc(pids ...int32) ([]process.Win32_Process, error)

func GetWin32ProcWithContext

func GetWin32ProcWithContext(ctx context.Context, pids ...int32) ([]process.Win32_Process, error)

    Test in PowerShell: Get-WmiObject -Query "SELECT Name,ProcessId,CreationDate,CommandLine FROM Win32_Process"

    func WMIQueryWithContext

    func WMIQueryWithContext(ctx context.Context, query string, dst interface{}, connectServerArgs ...interface{}) error

      WMIQueryWithContext - wraps wmi.Query with a timed-out context to avoid hanging

      Types

      This section is empty.