Skip to content

Units Reference

In the configuration files for Drove, we use the Duration and DataSize units to make configuration easier.

Data Size

Use the following shortcuts to express sizes in human readable form such as 2GB etc:

  • B - Bytes
  • byte - Bytes
  • Bytes - Bytes
  • K - Kilobytes
  • KB - Kilobytes
  • KiB - Kibibytes
  • Kilobyte - Kilobytes
  • kibibyte - Kibibytes
  • KiloBytes - Kilobytes
  • kibiBytes - Kibibytes
  • M - Megabytes
  • MB - Megabytes
  • MiB - Mebibytes
  • megabyte - Megabytes
  • mebibyte - Mebibytes
  • megaBytes - Megabytes
  • mebiBytes - Mebibytes
  • G - Gigabytes
  • GB - Gigabytes
  • GiB - Gibibytes
  • gigabyte - Gigabytes
  • gibibyte - Gibibytes
  • gigaBytes - Gigabytes
  • gibiBytes - Gibibytes
  • T - Terabytes
  • TB - Terabytes
  • TiB - Tebibytes
  • terabyte - Terabytes
  • tebibyte - Tebibytes
  • teraBytes - Terabytes
  • tebiBytes - Tebibytes
  • P - Petabytes
  • PB - Petabytes
  • PiB - Pebibytes
  • petabyte - Petabytes
  • pebibyte - Pebibytes
  • petaBytes - Petabytes
  • pebiBytes - Pebibytes

Duration

Time durations in Drove can be expressed in human readable form, for example: 3d can be used to signify 3 days and so on. The list of valid duration unit suffixes are:

  • ns - nanoseconds
  • nanosecond - nanoseconds
  • nanoseconds - nanoseconds
  • us - microseconds
  • microsecond - microseconds
  • microseconds - microseconds
  • ms - milliseconds
  • millisecond - milliseconds
  • milliseconds - milliseconds
  • s - seconds
  • second - seconds
  • seconds - seconds
  • m - minutes
  • min - minutes
  • mins - minutes
  • minute - minutes
  • minutes - minutes
  • h - hours
  • hour - hours
  • hours - hours
  • d - days
  • day - days
  • days - days