<div dir="ltr"><div dir="ltr">On Wed, Oct 7, 2020 at 9:49 AM Ulrich Windl <<a href="mailto:Ulrich.Windl@rz.uni-regensburg.de">Ulrich.Windl@rz.uni-regensburg.de</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi!<br>
<br>
I'm thinking of configuring a serial getty in SLES15 (systemd-234). First I found that there is no manual page describing the service, and second if I use "systemctl show serial-getty" ("systemctl show serial-getty@" does not work), I get some "funny" numbers:<br>
<br>
...<br>
UID=4294967295<br>
GID=4294967295<br>
...<br>
MemoryCurrent=18446744073709551615<br>
CPUUsageNSec=18446744073709551615<br>
TasksCurrent=18446744073709551615<br>
IPIngressBytes=18446744073709551615<br>
IPIngressPackets=18446744073709551615<br>
IPEgressBytes=18446744073709551615<br>
IPEgressPackets=18446744073709551615<br>
...<br>
CPUWeight=18446744073709551615<br>
StartupCPUWeight=18446744073709551615<br>
CPUShares=18446744073709551615<br>
StartupCPUShares=18446744073709551615<br>
...<br>
<br>
Obviously that number is the unsigned 64-bit representation of -1, but considering that no such service is running, the output looks quite odd.<br>
If -1 means "unknown", why not use that string, or if it means "unlimited", why not use that string?<br></blockquote><div><br></div><div>This was fixed in systemd-235 several years ago. <a href="https://github.com/systemd/systemd/commit/21771f338d268e06dc9a10b9b08b14ff8217d4be">https://github.com/systemd/systemd/commit/21771f338d268e06dc9a10b9b08b14ff8217d4be</a><br></div></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr">Mantas Mikulėnas</div></div></div>