Bug #1340

Align vmstat -m columns

Added by Beket about 4 years ago. Updated about 4 years ago.

Status:Closed Start date:
Priority:Low Due date:
Assignee:Beket % Done:

0%

Category:-
Target version:-

Description

Salute.

Currently vmstat -m output doesn't align well:

Memory statistics by type Type Kern
Type InUse MemUse HighUse Limit Requests Limit Limit Size(s)
(...)
file desc 46 59K 0K 76332K 3211 0 0
device-mapped pages 1444 113K 0K 76332K 1444 0 0
UFS dirhash 297 39K 0K 76332K 297 0 0

Attached patch fixes it:

Memory statistics by type Type Kern
Type InUse MemUse HighUse Limit Requests Limit Limit Size(s)
(...)
file desc 46 59K 0K 76332K 3295 0 0
device-mapped pages 1449 114K 0K 76332K 1449 0 0
UFS dirhash 297 39K 0K 76332K 297 0 0

Objections?

Cheers,
Stathis

vmstat.diff (772 Bytes) Beket, 04/20/2009 02:28 pm


Related todos

History

Updated by dillon about 4 years ago

:New submission from Stathis Kamperis <ekamperi@gmail.com>:
:
:Salute.
:
:Currently vmstat -m output doesn't align well:

Patch looks good!

-Matt
Matthew Dillon
<dillon@backplane.com>

Updated by Beket about 4 years ago

: Patch looks good!

Thanks! Submitted.

Cheers,
Stathis

Also available in: Atom PDF