SkillAgentSearch skills...

Procfs

Go package for accessing the /proc virtual filesystem

Install / Use

/learn @jandre/Procfs
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Procfs

Procfs is a parser for the /proc virtual filesystem on Linux written in the Go programming lanugage.

Not all /proc interfaces are currently supported; but pull requests are welcome!

Installation

go get github.com/jandre/procfs

Examples

See the *_test files for usage, but in short:

import (
  "github.com/jandre/procfs"
)

// fetch all processes from /proc
// returns a map of pid -> *Process 
processes, err := procfs.Processes();

Documentation

Documentation can be found at: http://godoc.org/github.com/jandre/procfs

View on GitHub
GitHub Stars28
CategoryDevelopment
Updated2y ago
Forks11

Languages

Go

Security Score

60/100

Audited on Jul 16, 2023

No findings