git: systat - Adjust field widths to prevent numbers from runnin

看板DFBSD_commit作者時間14年前 (2011/05/17 07:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 7ca39620b3c375aa39d23c766cc98b92ed4cb99f Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Sat Apr 9 12:14:46 2011 -0700 systat - Adjust field widths to prevent numbers from running together * Compress the Trp, Sys, Int, Sof, and Flt fields and reduce the field width to prevent numbers from running into each other, which was making them unreadable. On MP systems these fields can get into the hundreds of K. In particular the Flt number would often hit up against the 'wire' number to its right. * Reduce the width for the VN PAGER and SWAP PAGER fields for the same reason. These changes force larger numbers to be displayed with less accuracy, i.e. instead of 104555 we would get 104K, but the output is far more useful. Summary of changes: usr.bin/systat/vmstat.c | 30 +++++++++++++++--------------- 1 files changed, 15 insertions(+), 15 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7ca39620b3c375aa39d23c766cc98b92ed4cb99f -- DragonFly BSD source repository
文章代碼(AID): #1DqRG7zs (DFBSD_commit)