Documentation
¶
Index ¶
- Variables
- func JoinNamespaceAndProcessInfo(pid string, descriptors []string) ([][]string, error)
- func JoinNamespaceAndProcessInfoByPids(pids []string, descriptors []string) ([][]string, error)
- func JoinNamespaceAndProcessInfoByPidsWithOptions(pids []string, descriptors []string, options *JoinNamespaceOpts) ([][]string, error)
- func JoinNamespaceAndProcessInfoWithOptions(pid string, descriptors []string, options *JoinNamespaceOpts) ([][]string, error)
- func ListDescriptors() (list []string)
- func ProcessInfo(descriptors []string) ([][]string, error)
- func ProcessInfoByPids(pids []string, descriptors []string) ([][]string, error)
- type IDMap
- type JoinNamespaceOpts
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // DefaultDescriptors is the `ps -ef` compatible default format. DefaultDescriptors = []string{"user", "pid", "ppid", "pcpu", "etime", "tty", "time", "args"} // ErrUnknownDescriptor is returned when an unknown descriptor is parsed. ErrUnknownDescriptor = errors.New("unknown descriptor") )
Functions ¶
func JoinNamespaceAndProcessInfoByPidsWithOptions ¶
func JoinNamespaceAndProcessInfoByPidsWithOptions(pids []string, descriptors []string, options *JoinNamespaceOpts) ([][]string, error)
func JoinNamespaceAndProcessInfoWithOptions ¶
func JoinNamespaceAndProcessInfoWithOptions(pid string, descriptors []string, options *JoinNamespaceOpts) ([][]string, error)
func ListDescriptors ¶
func ListDescriptors() (list []string)
func ProcessInfo ¶
Types ¶
type JoinNamespaceOpts ¶
Click to show internal directories.
Click to hide internal directories.