Date: Tue, 25 Apr 2023 16:23:45 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 262950] 13.1-BETA3: weird top SWAP output Message-ID: <bug-262950-227-HKWKPcIgZh@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-262950-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262950 Thomas Hurst <tom@hur.st> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tom@hur.st --- Comment #1 from Thomas Hurst <tom@hur.st> --- Indeed, running out of swap gets you: Swap: 8192M Total, 8192M Used, K Free, 100% Inuse Looking at display.c:summary_format(), if the value were zero it would just skip that field, but if it becomes negative it displays the field name without a value: if (num > 0) .. /* ignore negative numbers, but display corresponding string */ else if (num < 0) { p = stpcpy(p, thisname); } Seems a bit arbitrary. -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-262950-227-HKWKPcIgZh>
