Sysstat.FsSourceFilesystem statistics (instantaneous).
type partition = {mount_point : string;Mount point path (e.g., "/", "/home").
total_bytes : int64;Total filesystem size.
*)used_bytes : int64;Used space (calculated as total - free).
avail_bytes : int64;Available space for unprivileged users.
*)}Partition information for a single mounted filesystem.
All size fields are in bytes. Represents a snapshot of filesystem usage at the time of sampling.
type t = {total_bytes : int64;Total filesystem size for the queried path.
*)used_bytes : int64;Used space for the queried path.
*)avail_bytes : int64;Available space for the queried path.
*)partitions : partition list;All mounted partitions (excluding virtual filesystems).
*)}Filesystem statistics for a specific path.
All size fields are in bytes. Contains statistics for the filesystem containing the specified path, plus a list of all mounted partitions.
sample ?path () returns filesystem statistics for the specified path.
Returns statistics for the filesystem containing path (default: "/"), along with a list of all mounted partitions via partitions.
Virtual and system filesystems (e.g., devfs, tmpfs, proc, sysfs) are excluded from the partitions list. Filesystems smaller than approximately 100 MB are also excluded.