1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-17 06:04:23 +03:00

man: update dmstats.8.in examples

This commit is contained in:
Bryn M. Reeves 2015-08-16 19:30:16 +01:00
parent 28b4fa3e27
commit bc39506792

View File

@ -591,7 +591,7 @@ Create a whole-device region with one area on vg00/lvol1
.br
# dmstats create vg00/lvol1
.br
Created region: 0
vg00/lvol1: Created new region with 1 area(s) as region ID 0
.br
.br
@ -601,7 +601,7 @@ Create a 32M region 1G into device d0
.br
# dmstats create --start 1G --length 32M d0
.br
Created region: 2
d0: Created new region with 1 area(s) as region ID 0
.br
@ -610,17 +610,17 @@ Create a whole-device region with 8 areas on every device
.br
# dmstats create --areas 8
.br
Created region: 0
vg00/lvol1: Created new region with 8 area(s) as region ID 0
.br
Created region: 0
vg00/lvol2: Created new region with 8 area(s) as region ID 0
.br
Created region: 0
vg00/lvol3: Created new region with 8 area(s) as region ID 0
.br
Created region: 2
vg01/lvol0: Created new region with 8 area(s) as region ID 2
.br
Created region: 0
vg01/lvol1: Created new region with 8 area(s) as region ID 0
.br
Created region: 0
vg00/lvol2: Created new region with 8 area(s) as region ID 1
.br
.br
@ -637,7 +637,7 @@ using dmsetup
.br
# dmsetup stats create --areasize 10G vg00/lvol1
.br
Created region: 1
vg00/lvol1: Created new region with 5 area(s) as region ID 1
.br
.br
@ -645,7 +645,7 @@ Create a 1GiB region with 16 areas at the start of vg00/lvol1
.br
# dmstats create --start 0 --len 1G --areas=16 vg00/lvol1
.br
Created region: 2
vg00/lvol1: Created new region with 16 area(s) as region ID 0
.br
.br
@ -653,13 +653,13 @@ List the statistics regions registered on vg00/lvol1
.br
# dmstats list vg00/lvol1
.br
RegionID RegStart RegLen AreaSize ProgramID AuxData
Name RgID RStart RSize #Areas ASize ProgID
.br
0 0 104857600 20971520 dmstats
vg00-lvol1 0 0 61.00g 1 61.00g dmstats
.br
1 0 104857600 20971520 dmstats
vg00-lvol1 1 61.00g 19.20g 1 19.20g dmstats
.br
2 0 2097152 131072 dmstats
vg00-lvol1 2 80.20g 2.14g 1 2.14g dmstats
.br
.br
@ -668,19 +668,15 @@ Display five statistics reports for vg00/lvol1 at an interval of one second
.br
# dmstats report --interval 1 --count 5 vg00/lvol1
.br
Name RgID ArID RRqM/s WRqM/s R/s W/s RSz/s WSz/s AvRqSz QSize SvcTm Util% AWait
# dmstats report
.br
vg00-lvol1 0 0 0.00 0.00 8.00 0.00 48.00k 0 6.00k 0.00 5.50 4.40 6.62
Name RgID ArID AStart ASize RRqM/s WRqM/s R/s W/s RSz/s WSz/s AvRqSz QSize Util% AWait RdAWa WrAWa
.br
vg00-lvol1 0 1 0.00 0.00 22.00 0.00 624.00k 0 28.00k 0.00 5.23 11.50 5.36
vg_hex-lv_home 0 0 0 61.00g 0.00 0.00 0.00 218.00 0 1.04m 4.50k 2.97 81.70 13.62 0.00 13.62
.br
vg00-lvol1 0 2 0.00 0.00 353.00 0.00 1.84m 0 5.00k 0.00 1.34 47.40 1.33
vg_hex-lv_home 1 0 61.00g 19.20g 0.00 0.00 0.00 5.00 0 548.00k 109.50k 0.14 11.00 27.40 0.00 27.40
.br
vg00-lvol1 0 3 0.00 0.00 73.00 0.00 592.00k 0 8.00k 0.00 2.10 15.30 2.10
.br
vg00-lvol1 0 4 0.00 0.00 5.00 0.00 52.00k 0 10.00k 0.00 4.00 2.00 4.00
.br
[...]
vg_hex-lv_home 2 0 80.20g 2.14g 0.00 0.00 0.00 14.00 0 1.15m 84.00k 0.39 18.70 27.71 0.00 27.71
.br
.br
@ -689,11 +685,11 @@ Create one region for reach target contained in device vg00/lvol1
.br
# dmstats create --segments vg00/lvol1
.br
Created region: 0
Created new region with 1 area(s) as region ID 0
.br
Created region: 1
Created new region with 1 area(s) as region ID 1
.br
Created region: 2
Created new region with 1 area(s) as region ID 2
.br
.br