‘lvmstat ‘ :
- To enable the statistics collection for volume group datavg (all the LVs in datavg are enabled), type:
lvmstat -v datavg -e- To display the history of all the partitions of logical volume hd2, type:
lvmstat -l hd2- To display the history of top five logical volumes of volume group uservg, type:
lvmstat -v uservg -c 5- To display a continuous report at two second intervals for the logical volume ramlv, type:
lvmstat -l ramlv 2- To display six reports at two second intervals for the volume group rootvg, type:
lvmstat -v rootvg 2 6- To reset the counters for statistics for all the logical volumes in the volume group uservg, type:
lvmstat -v uservg -C- To disable statistics collection for datalv, type:
lvmstat -l datalv -d