nikademus79 / psutil

Automatically exported from code.google.com/p/psutil
Other
0 stars 0 forks source link

Provide disk usage statistics #172

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What I have in mind:

>>> psutil.disk_usage(path)
usage(total=..., free=..., used=..., percent=...)

On posix this can be done with os.statvfs():
http://docs.python.org/library/os.html#os.statvfs
Still have to look into Windows.

Original issue reported on code.google.com by g.rodola on 11 Jun 2011 at 1:02

GoogleCodeExporter commented 8 years ago
Implemented on posix in r1017.

Original comment by g.rodola on 11 Jun 2011 at 1:13

GoogleCodeExporter commented 8 years ago
Implemented on Windows in r1018.

Original comment by g.rodola on 11 Jun 2011 at 3:24

GoogleCodeExporter commented 8 years ago
OS X disk usage should be able to use the posix support.

Original comment by jcscoob...@gmail.com on 23 Jun 2011 at 8:35

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago

Original comment by g.rodola on 27 Jun 2011 at 5:52

GoogleCodeExporter commented 8 years ago

Original comment by g.rodola on 8 Jul 2011 at 7:07

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Updated csets after the SVN -> Mercurial migration:
r1017 == revision 2f77b94737ed
r1018 == revision 0933e8dc9338

Original comment by g.rodola on 2 Mar 2013 at 12:00