Bug #1340

Align vmstat -m columns

Added by Anonymous over 5 years ago. Updated over 5 years ago.

Status:ClosedStart date:
Priority:LowDue date:
Assignee:-% 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 Magnifier (772 Bytes) Anonymous, 04/20/2009 02:28 PM

History

#1 Updated by dillon over 5 years ago

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

Patch looks good!

-Matt
Matthew Dillon
<>

#2 Updated by Anonymous over 5 years ago

: Patch looks good!

Thanks! Submitted.

Cheers,
Stathis

Also available in: Atom PDF