Judging VPS based on that virtual technology? Xen, OpenVZ, Xen HVM, KVM, or VMware

Source: Internet
Author: User
Tags vps

1, through the system on the relevant directory or file to judge

Execution: ls/proc/, the general Xen Vps,/proc directory below will have Xen directory, OpenVZ will have vz directory.

2, implementation: Free-m Look at the memory, OpenVZ no swap, of course there is no swap, Xen, but Xen is can add, OpenVZ not. KVM is full virtualization and you can add swap on your own.

3, execution: uname-a some Xen VPS will show Xen.

4, implementation: Ifconfig View network card, OpenVZ is generally venet0:*, Xen, KVM is generally eth*.

5, through the VPS Control Panel view, like SOLUSVM, Veportal Control Panel display virtual technology.

6, the use of specialized software: Virt-what, Virt-what is a judge of the current environment using the virtual technology of the script, the common virtual technology is basically able to identify the normal.

You can install the following command (you need to install GCC, make):

wget http://people.redhat.com/~rjones/virt-what/files/virt-what-1.15.tar.gztar zxvf virt-what- 1.15 . TAR.GZCD virt-what-1.15/. /&& make install
Virt-what

Run Virt-what, the script will determine the current environment used by the virtual technology, VPS Detective with the VPS on hand test success rate is still relatively high.

Judging VPS based on that virtual technology? Xen, OpenVZ, Xen HVM, KVM, or VMware

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.