procinfo

package
v0.0.0-...-71b9f4c Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrorNoUserFound = errors.New("Could not find user that owns the given process from passwd file")
)

Functions

This section is empty.

Types

type UidLookup

type UidLookup map[uint32]string

func PasswdToLookup

func PasswdToLookup(entries passwd.Passwd) UidLookup

func (UidLookup) UserForPid

func (lookup UidLookup) UserForPid(pid uint64) (string, error)

Jump to

Keyboard shortcuts

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