Documentation ¶
Overview ¶
Package ps provides a way to find a process in linux without using the ps CLI tool.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LinuxClient ¶
type LinuxClient struct{}
LinuxClient is for finding processes on linux distributions.
type Process ¶
type Process struct { // Pid is the process id. Pid int // Exe is the path of the processes executable file. Exe string // CommandLine contains the processes executable path and its command // line arguments (honoring the order they were presented when executed). CommandLine []string }
Process describes an OS process.
type ProcessInterface ¶
ProcessInterface is the minimum required Ps interface for Guest Agent.
var Client ProcessInterface
Client for finding processes.
Click to show internal directories.
Click to hide internal directories.