Bug 228461 - swapinfo(8) is not able to align the columns with longer names of devices
Summary: swapinfo(8) is not able to align the columns with longer names of devices
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 11.1-STABLE
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-24 14:28 UTC by vermaden
Modified: 2018-05-24 14:28 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description vermaden 2018-05-24 14:28:31 UTC
It is now:

% swapinfo -h
Device          1K-blocks     Used    Avail Capacity
/dev/zvol/local/SWAP   4194304      12M     4.0G     0%

% swapinfo -m            
Device          1M-blocks     Used    Avail Capacity
/dev/zvol/local/SWAP      4096       11     4084     0%



Should be:

% swapinfo -h
Device                1K-blocks  Used  Avail  Capacity
/dev/zvol/local/SWAP    4194304   12M   4.0G        0%

% swapinfo -m            
Device                1M-blocks  Used  Avail  Capacity
/dev/zvol/local/SWAP       4096    11   4084        0%