I display it constantly using conky (see attachment) and conky is using

${color}L1ARC / ${color0}Hits%: ${color}${alignr}(${exec cat
/proc/spl/kstat/zfs/arcstats | grep -m 1 uncompressed_size | awk
'{printf "%4.2f",$3/1073741824}'}) ${exec cat
/proc/spl/kstat/zfs/arcstats | grep -m 1 size | awk '{printf
"%4.2f",$3/1073741824}'}GiB of 2.00GiB - ${color0}${exec arc_summary |
grep -m 1 Actual | awk '{print int($8+0.5)}'}%

${color5}${execbar cat /proc/spl/kstat/zfs/arcstats | grep -m 1 size |
awk '{printf int($3/21474836)}'}

** Attachment added: "Screenshot from 2020-03-10 14-44-21.png"
   
https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/1854480/+attachment/5335438/+files/Screenshot%20from%202020-03-10%2014-44-21.png

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1854480

Title:
  zfs_arc_max not working anymore in zfs 0.8.1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/1854480/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to