Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Pgrep ¶
Pgrep functions like `pgrep`, returning a list of PIDs by regular expression on their executable name. Note: Both return values may not be nil.
func Pkill ¶
Pkill functions like `pkill`, sending a signal to each process found by regular expression on their executable name, and returning a list of PIDs and any errors during execution. Note: Some processes may have been signaled even if this command errors; thus both return values may not be nil.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.