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:
factsabout 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
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