Red Hat Training

A Red Hat training course is available for Red Hat Enterprise Linux

14.5.5. 장치 블록 통계 표시

이 명령은 실행 중인 도메인에 대한 블록 통계를 표시합니다. 도메인 이름과 장치 이름( virsh domblklist 를 사용하여 장치를 나열해야 합니다.) 이 경우 블록 장치는 고유한 대상 이름(<target dev='name'/>) 또는 소스 파일(< source file ='name'/>)입니다. 모든 하이퍼바이저가 모든 필드를 표시할 수 있는 것은 아닙니다. 출력이 가장 적합한 형식으로 표시되도록 하려면 다음과 같이 --human 옵션을 사용합니다.
# virsh domblklist rhel6
Target     Source
------------------------------------------------
vda        /VirtualMachines/rhel6.img
hdc        -

# virsh domblkstat --human rhel6 vda
Device: vda
 number of read operations:      174670
 number of bytes read:           3219440128
 number of write operations:     23897
 number of bytes written:        164849664
 number of flush operations:     11577
 total duration of reads (ns):   1005410244506
 total duration of writes (ns):  1085306686457
 total duration of flushes (ns): 340645193294