package kaun-board
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=96d35ce03dfbebd2313657273e24c2e2d20f9e6c7825b8518b69bd1d6ed5870f
sha512=90c5053731d4108f37c19430e45456063e872b04b8a1bbad064c356e1b18e69222de8bfcf4ec14757e71f18164ec6e4630ba770dbcb1291665de5418827d1465
doc/kaun-board.sysstat/Sysstat/Fs/index.html
Module Sysstat.FsSource
Filesystem 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.