Endpoint configuration · GraphQL type

DiskUsage type

Space available on a file system or disk.

Fields

Field Name Description
path - String! The path or mount point of the disk.
total - Uint64! Size of the file system in bytes.
free - Uint64! Free space available on the file system in bytes
used - Uint64! Used space on the file system in bytes
usedPercent - Float! Percent of file system capacity used, on a 0 to 100 scale (not a 0 to 1 fraction), e.g. 62.5 meaning 62.5%.
inodesTotal - Uint64 Total number of inodes on the file system.
inodesUsed - Uint64 Total number of inodes in use on the file system.
inodesFree - Uint64 Total number of inodes available for use on the file system.
inodesUsedPercent - Float Percent of available inodes used, on a 0 to 100 scale (not a 0 to 1 fraction), e.g. 62.5 meaning 62.5%.

Used by

  • DiskMount type: A file system mounted on an Endpoint, identified by its device and mount point (for example C: on Windows or / on Linux and macOS).

Example

Example

{
  "path": "xyz789",
  "total": "8589934592",
  "free": "8589934592",
  "used": "8589934592",
  "usedPercent": 987.65,
  "inodesTotal": "8589934592",
  "inodesUsed": "8589934592",
  "inodesFree": "8589934592",
  "inodesUsedPercent": 987.65
}