Author: allanjude
Date: Sat Nov 11 14:02:21 2017
New Revision: 325715
URL: https://svnweb.freebsd.org/changeset/base/325715

Log:
  vmstat: fix duplicate key in libxo output
  
  In the libxo output from vmstat, the number of pages that have been
  paged out uses the same key name as the number of times pages have been
  paged. Appears to have been a typo or copy-pasto.
  
  PR:           222198
  Submitted by: Yavuz Tanriverdi <[email protected]>
  Reviewed by:  phil, garga
  Differential Revision:        https://reviews.freebsd.org/D12395

Modified:
  head/usr.bin/vmstat/vmstat.c

Modified: head/usr.bin/vmstat/vmstat.c
==============================================================================
--- head/usr.bin/vmstat/vmstat.c        Sat Nov 11 13:57:30 2017        
(r325714)
+++ head/usr.bin/vmstat/vmstat.c        Sat Nov 11 14:02:21 2017        
(r325715)
@@ -1059,7 +1059,7 @@ dosum(void)
                sum.v_vnodepgsin);
        xo_emit("{:vnode-page-outs/%9u} {N:vnode pager pageouts}\n",
                sum.v_vnodeout);
-       xo_emit("{:vnode-page-outs/%9u} {N:vnode pager pages paged out}\n",
+       xo_emit("{:vnode-page-out-pages/%9u} {N:vnode pager pages paged out}\n",
                sum.v_vnodepgsout);
        xo_emit("{:page-daemon-wakeups/%9u} {N:page daemon wakeups}\n",
                sum.v_pdwakeups);
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to