HomeFreeBSD

Improve size readability.

Description

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

Details

Provenance
mrAuthored on Feb 15 2021, 7:23 PM
Differential Revision
D27496: Improve systat -swap readability and fix display issues
Parents
rG41032835dc2d: Fix divide-by-zero panic when ASLR is enabled and superpages disabled
Branches
Unknown
Tags
Unknown