[Bug 251655] [patch] systat -swap to improve readability and fix display issues

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Apr 21 19:19:36 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251655

--- Comment #5 from commit-hook at FreeBSD.org ---
A commit in branch stable/12 references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=9d75c569b42b6f7b8459e5d39258485d519fe78f

commit 9d75c569b42b6f7b8459e5d39258485d519fe78f
Author:     Michael Reifenberger <mr at FreeBSD.org>
AuthorDate: 2021-02-15 19:23:32 +0000
Commit:     Michael Reifenberger <mr at FreeBSD.org>
CommitDate: 2021-04-21 19:17:05 +0000

    Improve size readability.
    Preserve more space for swap devise names.
    Prevent line overflow with long devise name.
    Don't draw a bar when swap is not used at all.
    Simplify and optimize code.
    Change the label to end at end of 100%.
    PR:             251655
    MFC after:      2 weeks
    Differential Revision:  https://reviews.freebsd.org/D27496

    (cherry picked from commit 8d06c3e7a40831ac139d83b85b282206229b426f)

 lib/libc/gen/getbsize.3 |   5 +--
 usr.bin/systat/extern.h |   1 +
 usr.bin/systat/swap.c   | 116 +++++++++++++-----------------------------------
 usr.bin/systat/sysput.c |  21 ++++++---
 4 files changed, 51 insertions(+), 92 deletions(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list