ps

package
v1.87.0 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Comm

func Comm(pid int) (string, error)

Comm invokes ps -o comm= -p pid and returns its output

func Exec

func Exec(pid int, keywords string) (string, error)

Exec invokes ps -o keywords -p pid and returns its output

func RSS

func RSS(pid int) (int, error)

RSS invokes ps -o rss= -p pid and returns its output

Types

This section is empty.

Jump to

Keyboard shortcuts

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