[issue1340] Align vmstat -m columns

Stathis Kamperis (via DragonFly issue tracker) sinknull at crater.dragonflybsd.org
Mon Apr 20 07:31:21 PDT 2009


New submission from Stathis Kamperis <ekamperi at gmail.com>:

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

----------
files: vmstat.diff
messages: 6425
nosy: Beket
status: unread
title: Align vmstat -m columns

_____________________________________________________
DragonFly issue tracker <bugs at lists.dragonflybsd.org>
<http://bugs.dragonflybsd.org/issue1340>
_____________________________________________________Attachment:
vmstat.diff
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bin00000.bin
Type: application/octet-stream
Size: 772 bytes
Desc: "Description: Binary data"
URL: <http://lists.dragonflybsd.org/pipermail/bugs/attachments/20090420/f75931f1/attachment-0021.bin>


More information about the Bugs mailing list