mirror of https://github.com/xzeldon/htop.git
![]() New meter displays same ARC stats as FreeBSD top(1). Can be extended to other platforms that support ZFS. Pulling kstat.zfs.misc.arcstats.c_max as the meter total, so the meter has a meaningful value to work up to. The Text meter displays, first, the maximum ARC size (Meter.total), then second, the total ARC used, using the difference between Meter.maxItems and Meter.curItems to "hide" the used value from the Bar and Graph drawing functions by using an index in Meter.values[] that is beyond curItems - 1, but less than maxItems - 1. |
||
---|---|---|
.. | ||
Battery.c | ||
Battery.h | ||
FreeBSDCRT.c | ||
FreeBSDCRT.h | ||
FreeBSDProcess.c | ||
FreeBSDProcess.h | ||
FreeBSDProcessList.c | ||
FreeBSDProcessList.h | ||
Platform.c | ||
Platform.h |