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
- Bytesbyte
- BytesBytes
- BytesK
- KilobytesKB
- KilobytesKiB
- KibibytesKilobyte
- Kilobyteskibibyte
- KibibytesKiloBytes
- KilobyteskibiBytes
- KibibytesM
- MegabytesMB
- MegabytesMiB
- Mebibytesmegabyte
- Megabytesmebibyte
- MebibytesmegaBytes
- MegabytesmebiBytes
- MebibytesG
- GigabytesGB
- GigabytesGiB
- Gibibytesgigabyte
- Gigabytesgibibyte
- GibibytesgigaBytes
- GigabytesgibiBytes
- GibibytesT
- TerabytesTB
- TerabytesTiB
- Tebibytesterabyte
- Terabytestebibyte
- TebibytesteraBytes
- TerabytestebiBytes
- TebibytesP
- PetabytesPB
- PetabytesPiB
- Pebibytespetabyte
- Petabytespebibyte
- PebibytespetaBytes
- PetabytespebiBytes
- 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
- nanosecondsnanosecond
- nanosecondsnanoseconds
- nanosecondsus
- microsecondsmicrosecond
- microsecondsmicroseconds
- microsecondsms
- millisecondsmillisecond
- millisecondsmilliseconds
- millisecondss
- secondssecond
- secondsseconds
- secondsm
- minutesmin
- minutesmins
- minutesminute
- minutesminutes
- minutesh
- hourshour
- hourshours
- hoursd
- daysday
- daysdays
- days