Documentation ¶
Index ¶
- Variables
- func AddListener(listener Listener)
- func GetProcessPath(p *process.Process) (string, error)
- func IsRunning(p *process.Process) bool
- func IsRunningProcess(pid int32) bool
- func RemoveListener(listener Listener)
- func RemovePidFromDiscoveredPids(pid int32)
- func Start()
- type DiscoveryWork
- type Listener
Constants ¶
This section is empty.
Variables ¶
View Source
var (
RunningStates = []string{"R", "W", "S", "I", "L"} // Running, Waiting, Sleeping
)
Functions ¶
func AddListener ¶
func AddListener(listener Listener)
func IsRunningProcess ¶
func RemoveListener ¶
func RemoveListener(listener Listener)
func RemovePidFromDiscoveredPids ¶ added in v1.0.13
func RemovePidFromDiscoveredPids(pid int32)
Types ¶
type DiscoveryWork ¶
type DiscoveryWork struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.