티스토리 뷰

Fedora 18 Virtualization KVM Install Virt-top


Install Virt-top and enable to watch the status of Virtual machines on the console.



1. Install Virt-top

[root@otaec ~]# yum -y install virt-top



2. Operarion

# watch the status with the following command ( push "q" key to quit )

[root@otaec ~]# virt-top





# show CPU status to push "1" key

# show network status to push "2" key


# others

[root@otaec ~]# virt-top --help 

virt-top: unknown option `--help]'.

virt-top : a 'top'-like utility for virtualization

SUMMARY

    virt-top [-options]

OPTIONS

  -1Start by displaying pCPUs (default: tasks)

  -2Start by displaying network interfaces

  -3Start by displaying block devices

  -bBatch mode

  -c uriConnect to URI (default: Xen)

  --connect uriConnect to URI (default: Xen)

  --csv fileLog statistics to CSV file

  --no-csv-cpuDisable CPU stats in CSV

  --no-csv-blockDisable block device stats in CSV

  --no-csv-netDisable net stats in CSV

  -d delayDelay time interval (seconds)

  --debug fileSend debug messages to file

  --end-time timeExit at given time

  --hist-cpu secsHistorical CPU delay

  --init-file fileSet name of init file

  --no-init-fileDo not read init file

  -n iterationsNumber of iterations to run

  -o sortSet sort order (cpu|mem|time|id|name)

  -sSecure ("kiosk") mode

  --scriptRun from a script (no user interface)

  -helpDisplay this list of options

  --helpDisplay this list of options



댓글