概述
今天说的这个脚本叫virt-what,哈哈名字挺有意思的,作用就是可以判断你的vps使用的是什么技术
软件地址
https://people.redhat.com/~rjones/virt-what/
安装
安装很简单,首先wget下来
wget https://people.redhat.com/~rjones/virt-what/files/virt-what-1.18.tar.gz
解压
tar -zxvf virt-what-1.18.tar.gz
➜ ~ cd virt-what-1.18
➜ virt-what-1.18 ls
COPYING aclocal.m4 config.sub install-sh virt-what-cpuid-helper.c
Makefile.am compile configure missing virt-what-ia64-xen-rdtsc-test.c
Makefile.in config.guess configure.ac test-driver virt-what.in
README config.h.in depcomp tests virt-what.pod
编译安装
./configure --prefix=/usr/local/virtual-what
make && make install
➜ ~ cd /usr/local/virtual-what/sbin
➜ sbin ./virt-what
kvm
可以看到vultr是使用kvm技术的
欢迎关注我的博客www.bboy.app
Have Fun