VPS has a variety of virtualization technologies. Common VPS virtualization architectures are VMWare, Hyper-v, OpenVZ, Xen, and KVM. We can use the “virt-what” tool to judge and refer to our own VPS virtualization architecture. Now Lets take a look those popular main Cloud Vendor’s Virtualization technology.

It supports following virtualization platforms:
VMware、Hyper-V、VirtualPC、VirtualBox、OpenVZ / Virtuozzo、Linux-VServer、UML、IBM PowerVM Lx86 Linux/x86 emulator、Hitachi Virtualization Manager (HVM) Virtage logical 、partitioning、IBM SystemZ、Parallels、Xen、QEMU/KVM

Here are some running examples:

The program prints out a list of facts about the virtual machine, derived from heuristics. One fact is printed per line.
# virt-what
xen
xen-domU
# virt-what
kvm
# virt-what
(nothing printed ⇒ baremetal)

Method 1: Compile it from code


1. Download tool
wget https://people.redhat.com/~rjones/virt-what/files/virt-what-1.20.tar.gz
2. Installation
tar zxf virt-what-1.20.tar.gz   #untar the download file
cd virt-what-1.11               #enter the directory
./configure                     #configure it using default settings
make && make install            #compile and get executable file
3. View
virt-what

Method 2: Download it and Run

Mostly, it has been installed in to your VPS. If not, you can use ‘yum install virt-what -y’ or ‘apt-get install virt-what’ to get it installed.

1. https://labs.play-with-docker.com/

$ apk add virt-what
fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/community/x86_64/APKINDEX.tar.gz
(1/1) Installing virt-what (1.19-r1)
Executing busybox-1.30.1-r2.trigger
OK: 303 MiB in 109 packages
[node1] (local) [email protected] ~/virt-what-1.11
$ virt-what
hyperv
[node1] (local) [email protected] ~/virt-what-1.11
$

2. Google Cloud
# virt-what
kvm

3. AWS

4. Azure
#virt-what
hyperv

5. Oracle
# virt-what
kvm

By Jon

Leave a Reply