ID EN
OS

statvfs

Python 3.11

Perform a statvfs() system call on the given path. The return value is an object whose attributes describe the filesystem on the given path, and correspond to the members of the statvfs structure, namely: f_bsize, f_frsize, f_blocks, f_bfree, f_bavail, f_files, f_ffree, f_favail, f_flag, f_namemax, f_fsid.

Syntax

PYTHON
os.statvfs(path)

See Also

specifying a file descriptor Availability path-like object