Lvm-cache-stats » История » Редакция 2
Редакция 1 (Константин Пильник, 2017-12-22 22:39) → Редакция 2/3 (Константин Пильник, 2017-12-22 22:41)
h1. Lvm-cache-stats
<pre>
NAME="my_logical_volume_name"; read -a ARR <<<$(dmsetup status $NAME); C=0;for N in start end segment_type md_block_size md_utilization cache_block_size cache_utilization read_hits read_misses write_hits write_misses demotions promotions dirty features; do echo "${N}: ${ARR[$C]}";((C++)); done
</pre>