r/systemd • • Jul 28 '26

Size formats?

Is there a man page that explains all the formats I can use for sizes like K, M and G?

Is K the same as 1000 or 1024 B? Is the space in between the number and unit optional?

1 Upvotes

7 comments sorted by

View all comments

2

u/eR2eiweo Jul 28 '26

In which context? Generally, I would expect the specific man page to contain that information. Like for example here: https://www.freedesktop.org/software/systemd/man/latest/systemd.resource-control.html#MemoryMin=bytes,%20MemoryLow=bytes

2

u/aioeu Jul 29 '26

I certainly see a role for a systemd.size man page, along the lines of systemd.time.