[Bug 237664] [patch] systat -zarc to display cumulative rate and round down large numbers by SI units

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Apr 30 03:37:27 UTC 2019


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

            Bug ID: 237664
           Summary: [patch] systat -zarc to display cumulative rate and
                    round down large numbers by SI units
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs at FreeBSD.org
          Reporter: ota at j.email.ne.jp

Created attachment 204106
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=204106&action=edit
systat -zarc improved

Update to display cumulative rate and also make numebrs easier to read.

== OLD screen == 
                       Total     MFU     MRU    Anon     Hdr   L2Hdr   Other
     ZFS ARC            813M    555M    111M     81K   9821K      0K    137M

                                rate    hits  misses   total hits total misses
     arcstats                  : 89%    6714     761     36912905      3781817
     arcstats.demand_data      :  0%       0       0      6825292      1204922
     arcstats.demand_metadata  : 89%    6715     761     29924478      2508183
     arcstats.prefetch_data    :  0%       0       0            0            0
     arcstats.prefetch_metadata:  0%       0       0       163138        68712
     zfetchstats               :  0%       0       0            0            0
     arcstats.l2               :  0%       0       0            0            0
     vdev_cache_stats          :  0%       0       0            0            0






Disks  ada0   da0   cd0 pass0 pass1 pass2
KB/t   0.50  0.00  0.00  0.00  0.00  0.00
tps       0     0     0     0     0     0
MB/s   0.00  0.00  0.00  0.00  0.00  0.00
%busy     0     0     0     0     0     0

== NEW screen == 

                       Total     MFU     MRU    Anon     Hdr   L2Hdr   Other
     ZFS ARC            814M    556M    111M   32768   9823K       0    137M

                                Rate   Hits Misses | Total Rate   Hits Misses
     arcstats                  : 88%  41279   5260 |        90% 37209k  3809k
     arcstats.demand_data      :100%   4200      0 |        85%  6833k  1205k
     arcstats.demand_metadata  : 87%  36709   5260 |        92% 30213k  2535k
     arcstats.prefetch_data    :  0%      0      0 |         0%      0      0
     arcstats.prefetch_metadata:100%    370      0 |        70%   164k  68919
     zfetchstats               :  0%      0      0 |         0%      0      0
     arcstats.l2               :  0%      0      0 |         0%      0      0
     vdev_cache_stats          :  0%      0      0 |         0%      0      0






Disks  ada0   da0   cd0 pass0 pass1 pass2
KB/t   0.00  0.00  0.00  0.00  0.00  0.00
tps       0     0     0     0     0     0
MB/s   0.00  0.00  0.00  0.00  0.00  0.00
%busy     0     0     0     0     0     0

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


More information about the freebsd-bugs mailing list