Loading...
Real Time Concepts

How to know the Type of Virtualization in a Linux

How do I check if your Linux guest is physical or virtual.

To The  know the Type of Virtualization, Install  Virt-what Tool

For Ubuntu/Debian Linux:

#apt-get install virt-what

For CentOS/RHEL Linux:

#yum install virt-what

For Fedora Linux:

# dnf install virt-what

Check the type with below command

[root@webnoidschools ~]# virt-what
xen
xen-hvm
[root@webnoidschools ~]# virt-what
vmware

For VirtualBox Guest:

[root@webnoidschools ~]# virt-what
virtualbox
kvm

For KVM guest:

[root@webnoidschools ~]# virt-what
kvm

You can also use the dmidecode command to achieve the same result. type the following command:

# dmidecode -s system-product-name
# dmidecode -s system-manufacturer
 [root@webnoidschools ~]# dmidecode -s system-product-name 
HVM domU
 [root@webnoidschools ~]# dmidecode -s system-manufacturer 
Xen

Leave a Reply

Your email address will not be published. Required fields are marked *