virsh(1) の使い方

inux仮想マシン(Xen,KVMなど)の制御用コマンドラインツール。

使い方/実行結果

仮想マシンの状態を見る
[root@localhost owner]# virsh list --all
 Id 名前               状態
----------------------------------
  - CentOS5.5ga          シャットオフ
  - rhel6ga              シャットオフ

[root@localhost owner]#

仮想マシンの個々状態を詳細にみる
[root@localhost owner]# virsh dominfo CentOS5.5ga
Id:             -
名前:         CentOS5.5ga
UUID:           xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
OS タイプ:   hvm
状態:         シャットオフ
CPU:            1
最大メモリー: 1048576 kB
使用メモリー: 1048576 kB
Persistent:     yes
自動起動:   無効にする
セキュリティモデル: selinux
セキュリティ DOI: 0

[root@localhost owner]#

関連記事

関連項目

  • virt-install(1)
  • virt-xml-validate(1)
  • virt-top(1)
  • virt-mem(1)
  • virt-df(1)
以上

コメント