On 17Jan2020 11:35, Antoon Pardon wrote:
I would like to get the information given by the df command on linux/unix.
I found the os.statvfs call, but it misses one thing: The filesystem.
Does anyone know how to get that information.
If you os.stat() the same thing you statvfs()ed you get an st
Le 17/01/2020 à 11:35, Antoon Pardon a écrit :
I would like to get the information given by the df command on linux/unix.
I found the os.statvfs call, but it misses one thing: The filesystem.
Does anyone know how to get that information.
https://stackoverflow.com/questions/25283882/determinin
Antoon Pardon wrote:
> I would like to get the information given by the df command on linux/unix.
> I found the os.statvfs call, but it misses one thing: The filesystem.
>
> Does anyone know how to get that information.
>
import os
pipe_in = os.popen( 'df -h -T -x tmpfs -x devtmpfs' )
lis