You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i'm writing a application, that read some hardware data, and one of them is the partitions data.
So, when i execute the psutil.disk_partitions i get all the partitions, and that's OK.
But when i execute the psutil.disk_usage('mount_point'), all partitions return the same free, used and total values.
Follow, two screenshots to show this situation:
And
Both partitions are XFS filesystem, but my '/' partition are EXT4 and also return this values. And i don't if is a problem, i running the psutil function in a new Thread.
To complement, i'm using Ubuntu 15.04.
The text was updated successfully, but these errors were encountered:
I'm not sure I understand. Are you complaining that 2 different paths return the same values?
That is expected behavior in case the 2 paths belong to the same mountpoint.
For example on my Linux box / and /tmp return the same values because /tmp is mounted under /.
Hi all,
i'm writing a application, that read some hardware data, and one of them is the partitions data.
So, when i execute the
psutil.disk_partitions
i get all the partitions, and that's OK.But when i execute the
psutil.disk_usage('mount_point')
, all partitions return the same free, used and total values.Follow, two screenshots to show this situation:
And
Both partitions are XFS filesystem, but my '/' partition are EXT4 and also return this values. And i don't if is a problem, i running the psutil function in a new Thread.
To complement, i'm using Ubuntu 15.04.
The text was updated successfully, but these errors were encountered: