Kstat

From DWIKI

Get the data

cat /proc/spl/kstat/zfs/arcstats
arcstat
arc_summary


The secret values

arcstat -v knows them when you remove the underscores:

L2ARC

l2_size

Size of L2ARC

l2_asize

Actual (compressed) size of the L2ARC