Skip to content
/ lpfs Public

lpfs is a go library that makes it easier to get procfs info on a Linux system.

License

Notifications You must be signed in to change notification settings

rprobaina/lpfs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lpfs

lpfs is a go library that makes it easier to get procfs info on a Linux system.

How to use it

  1. Get the lpfs module.

    $ go get github.com/rprobaina/lpfs
  2. Import lpfs and use the functions.

    ...
    import (
      "github.com/rprobaina/lpfs"
    )
    
    your_var, err := lpfs.Function()
    
    uptime, err : GetUptimeSystem() // A real example
  3. See the available functions, by using go doc.

    $ go doc -all lpfs
  4. You can find some usage samples here.

About

lpfs is a go library that makes it easier to get procfs info on a Linux system.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages