Skip to content

diskusage

DiskUsage

PARAMETER DESCRIPTION
columns

Available columns:
device, mountpoint, fstype, opts, total, used, free, percent

TYPE: list[str] DEFAULT: ('device', 'fstype', 'total', 'used', 'free', 'percent', 'mountpoint')

sort

See Sorting

TYPE: str | tuple[str, bool] | list[str | tuple[str, bool]] | None DEFAULT: 'mountpoint'

exclude

Filesystem types to exclude

TYPE: list[str] DEFAULT: None

human_readable

Convert sizes to human readable strings

TYPE: bool DEFAULT: True

**kwargs

TYPE: Any DEFAULT: {}