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

 

 

icon phone
Téléphone/Whatsapp : +33 (0)6 83 84 85 74
icon phone