from sysfs import sys
for bdev in sys.block:
print bdev, str(int(bdev.size) / 1024 / 1024) + 'M'
forked from ponycloud/python-sysfs
-
Notifications
You must be signed in to change notification settings - Fork 1
Python SysFS interface
License
simontegelid/python-sysfs
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Python SysFS interface
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published
Languages
- Python 100.0%