Export to GitHub

psutil - issue #172

Provide disk usage statistics


Posted on Jun 11, 2011 by Happy Monkey

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.

Comment #1

Posted on Jun 11, 2011 by Happy Monkey

Implemented on posix in r1017.

Comment #2

Posted on Jun 11, 2011 by Happy Monkey

Implemented on Windows in r1018.

Comment #3

Posted on Jun 23, 2011 by Quick Wombat

OS X disk usage should be able to use the posix support.

Comment #4

Posted on Jun 27, 2011 by Happy Monkey

Comment deleted

Comment #5

Posted on Jun 27, 2011 by Happy Monkey

(No comment was entered for this change.)

Comment #6

Posted on Jul 8, 2011 by Happy Monkey

(No comment was entered for this change.)

Comment #7

Posted on Mar 1, 2013 by Happy Monkey

Comment deleted

Comment #8

Posted on Mar 2, 2013 by Happy Monkey

Updated csets after the SVN -> Mercurial migration: r1017 == revision 2f77b94737ed r1018 == revision 0933e8dc9338

Status: Fixed

Labels:
Type-Enhancement Priority-Medium Progress-4in4 Milestone-0.3.0