Skip to content

simontegelid/python-sysfs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simplistic Python SysFS interface.

Usage

from sysfs import sys

for bdev in sys.block:
    print bdev, str(int(bdev.size) / 1024 / 1024) + 'M'

About

Python SysFS interface

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%