
VM이 시작된 이후 읽거나 쓴 바이트 수를 알고 싶습니다.
VirtualBox GUI 메뉴에서 가능하며
Machine -> Session Information
필요한 정보가 포함된 깔끔한 창을 표시합니다.
하지만 VBoxManage로 동일한 작업을 수행하는 방법을 찾을 수 없습니다. 통계를 제공
하지도 metrics
않는 것 같습니다. 유망해 보였지만, 많은 비밀스러운 데이터를 생성했지만 내가 찾고 있는 수치는 아닙니다. 그래도 뭔가를 놓쳤을 수도 있습니다. 기본적으로 디스크 IO 통계에 관심이 있지만 네트워크 통계도 알아두면 좋을 것 같습니다.guestproperty
debugvm info
답변1
글쎄, 나는 그것을 스스로 알아 냈습니다. 답변은 입니다 debugvm statistics
.
xml을 출력하지만 단순화를 위해 grep을 사용하겠습니다.
MinGW$ VBoxManage debugvm $MY_VM statistics | grep name=\"/Devices.\*Bytes\"
<Counter c="1184613888" unit="bytes" vis="used" name="/Devices/AHCI0/Port0/ReadBytes"/>
<Counter c="331036672" unit="bytes" vis="used" name="/Devices/AHCI0/Port0/WrittenBytes"/>
<Counter c="184550400" unit="bytes" vis="used" name="/Devices/AHCI0/Port1/ReadBytes"/>
<Counter c="396939264" unit="bytes" vis="used" name="/Devices/AHCI0/Port1/WrittenBytes"/>
<Counter c="1079296" unit="bytes" vis="used" name="/Devices/AHCI0/Port2/ReadBytes"/>
<Counter c="331808713" unit="bytes" name="/Devices/E1k0/ReceiveBytes"/>
<Counter c="19335791" unit="bytes" name="/Devices/E1k0/TransmitBytes"/>
AHCI
이름에 있는 항목 은 SATA 디스크이며 E1k0
분명히 네트워크 어댑터입니다.