Reprinted: http://hi.baidu.com/ngy1991/item/f319ac346a19e5f196f88d9d
For new vps users, if they are afraid of being fooled by unscrupulous profiteers, but openvz is provided by the xen, how can they determine that the VPs they bought is a virtual technology, below are some common methods:
1. Determine through related directories or files on the system
Run: ls/proc/. Generally, the xen VPs and/proc Directory have the xen directory, and openvz has the VZ directory.
2. Run: Free-m to check the memory. openvz does not have swap. Of course, xen does not have swap, but xen can be added. openvz does not.
3. Run the command: Some xen VPs of uname-A will display xen.
4. Run ifconfig to view the network card. openvz generally uses venet0: * And xen usually uses ETH *.
5. view the virtual technology on the VPs Control Panel, such as solusvm and veportal control panel.
6. use special software: virt-what, virt-what is a script for judging the virtual technology used in the current environment. Common virtual technologies can basically be identified normally.
Run the following command to install GCC and 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 again, and the script will judge the virtual technology used in the current environment. The VPs test success rate on hand is still relatively high.