[Bug 222198] Duplicate JSON key in vmstat

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Sep 10 15:48:36 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222198

            Bug ID: 222198
           Summary: Duplicate JSON key in vmstat
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: sternix at gmail.com

Created attachment 186229
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=186229&action=edit
diff for vmstat.c

Hi

My FreeBSD version is:

FreeBSD ... 11.1-RELEASE-p1 FreeBSD 11.1-RELEASE-p1 #0: Wed Aug  9 11:55:48 UTC
2017     root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64

vmstat command with --libxo flag has duplicate "vnode-page-outs" key, you can
see with

$ vmstat --libxo json,pretty -s | grep vnode-page-outs
 "vnode-page-outs": ...,
 "vnode-page-outs": ...,


$ vmstat -s
 ... vnode pager pageouts
 ... vnode pager pages paged out

the second key might be "vnode-page-out-pages" i think.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list