Skip to content

jandre/procfs

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

About

Go package for accessing the /proc virtual filesystem

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages