Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindProcessByName ¶ added in v1.5.3
FindProcessByName finds a process by name and returns the process
func NewLogger ¶
func NewLogger() logrus.FieldLogger
Types ¶
type DeviceNumber ¶ added in v1.4.4
type DeviceNumber uint64
DeviceNumber represents a combined major:minor device number.
func GetDeviceNumber ¶ added in v1.4.4
func GetDeviceNumber(path string) (DeviceNumber, error)
GetDeviceNumber returns the device number of the device node at the given path. If there is a symlink at the path, it is dereferenced.
Click to show internal directories.
Click to hide internal directories.