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/
./configure
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