[systemd-devel] systemctl show outputs incorrect MemoryCurrent value

Reindl Harald h.reindl at thelounge.net
Thu Jul 26 06:07:55 UTC 2018



Am 26.07.2018 um 05:20 schrieb George Xie:
>> dealing internally with surch arbiatry numbers is still a differnt world
>> than ouput it in a user-tool like "systemctl show" which could simply
>> translate it to some meaningful string
>> no user cares about UINT64_MAX in such outputs
> 
> quoted from the manual: (systemctl show) "is intended to be used
> whenever computer-parsable output is required. . Use status if you are
> looking for formatted human-readable output."

arbitary numbers also don't help machines much and UINT64_MAX is a
random value making no sense - really - something like -1 but why in teh
world UINT64_MAX for something unset


More information about the systemd-devel mailing list