Whether your VPS is OpenVZ or Xen under CentOS

Source: Internet
Author: User
Tags vps

In general, VPS virtualization technology, there are Xen, OpenVZ, Xen HVM and VMware These kinds of, then, how to determine your VPS is based on what kind of virtualization technology?

1, execution: ls/proc/command, General Xen Vps,/proc directory below will have Xen directory, OpenVZ will have vz directory.

2, execution: free-m command to see the memory, OpenVZ no swap, of course, there is no swap of Xen, but Xen is can add, OpenVZ not.

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

4, execution: ifconfig command to view the network card, OpenVZ is generally venet0:*, Xen 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.9.tar.gz
Tar zxvf virt-what-1.9.tar.gz
CD virt-what-1.9/
Make && make install

Run Virt-what, the script will determine the current environment using the virtual technology, www.it.net.cn with the VPS on hand test success rate is still relatively high.

Whether your VPS is OpenVZ or Xen under CentOS

Related Article

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.