processes

package
v0.0.0-...-d10466f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 20, 2018 License: Apache-2.0, MIT Imports: 8 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Processes

type Processes struct {
	// contains filtered or unexported fields
}

func New

func New(exposeCmdline, exposeEnviron bool) *Processes

func (*Processes) FindProcessByInode

func (ps *Processes) FindProcessByInode(inode uint64) *UnixProcess

func (*Processes) Refresh

func (ps *Processes) Refresh() error

type UnixProcess

type UnixProcess struct {
	Binary  string
	Cmdline string
	Environ string
	// contains filtered or unexported fields
}

UnixProcess is an implementation of Process that contains Unix-specific fields and information.

func (*UnixProcess) Pid

func (p *UnixProcess) Pid() int

func (*UnixProcess) Refresh

func (p *UnixProcess) Refresh(exposeCmdline, exposeEnviron bool, procFSDirectory string) error

Refresh reloads all the data associated with this process.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL