Documentation
¶
Index ¶
- Constants
- func FileKeyValue(content, key string) string
- func IDFromMap(mp string) int
- func IDFromMapString(mp string) string
- func Proc() string
- func StatusFileIsThread(status string) bool
- type ProcFileSystem
- func (p *ProcFileSystem) Contents(file string) (string, error)
- func (p *ProcFileSystem) ContentsPID(pid int64, file string) (string, error)
- func (p *ProcFileSystem) Dir(dir string) ([]fs.FileInfo, error)
- func (p *ProcFileSystem) DirPID(pid int64, dir string) ([]fs.FileInfo, error)
- func (p *ProcFileSystem) Readlink(file string) (string, error)
- func (p *ProcFileSystem) ReadlinkPID(pid int64, file string) (string, error)
- type ProcModule
- type ProcModuleResult
Constants ¶
View Source
const (
DefaultProcRoot = "/proc"
)
Variables ¶
This section is empty.
Functions ¶
func FileKeyValue ¶
func IDFromMapString ¶
func StatusFileIsThread ¶
Types ¶
type ProcFileSystem ¶
type ProcFileSystem struct {
// contains filtered or unexported fields
}
func NewProcFileSystem ¶
func NewProcFileSystem(root string) *ProcFileSystem
func (*ProcFileSystem) ContentsPID ¶
func (p *ProcFileSystem) ContentsPID(pid int64, file string) (string, error)
func (*ProcFileSystem) ReadlinkPID ¶
func (p *ProcFileSystem) ReadlinkPID(pid int64, file string) (string, error)
type ProcModule ¶
type ProcModule struct {
}
func NewProcModule ¶
func NewProcModule() *ProcModule
func (*ProcModule) Execute ¶
func (m *ProcModule) Execute(p *api.Process) (procx.ProcessExplorerResult, error)
func (*ProcModule) Meta ¶
func (m *ProcModule) Meta() *module.Meta
Click to show internal directories.
Click to hide internal directories.