Configuration file measurement units配置文件测量单位

Sizes can be specified in bytes, kilobytes (suffixes k and K) or megabytes (suffixes m and M), for example, “1024”, “8k”, “1m”.大小可以以字节、千字节(后缀kK)或兆字节(后缀mM)为单位指定,例如,“1024”、“8k”、“1m”。

Offsets may be also specified in gigabytes using g or G suffixes.偏移量也可以使用gG后缀以GB为单位指定。

Time intervals can be specified in milliseconds, seconds, minutes, hours, days and so on, using the following suffixes:可以使用以下后缀以毫秒、秒、分钟、小时、天等为单位指定时间间隔:

msmilliseconds
sseconds
mminutes
hhours
ddays
wweeks
Mmonths, 30 days
yyears, 365 days

Multiple units can be combined in a single value by specifying them in the order from the most to the least significant, and optionally separated by whitespace. 通过按从最高有效到最低有效的顺序指定多个单位,并可选地用空格分隔,可以将多个单位组合为一个值。For example, “1h 30m” specifies the same time as “90m” or “5400s”. 例如,“1h 30m”指定的时间与“90m”或“5400s”指定的时间相同。A value without a suffix means seconds. 没有后缀的值表示秒。It is recommended to always specify a suffix.建议始终指定后缀。

Some of the time intervals can be specified only with a seconds resolution.某些时间间隔只能以秒分辨率指定。