How do I check whether my VPS is OpenVZ or XEN? (I ordered a while back and don't remember exactly which plan I ordered!).
OS: Linux running ubuntu.
thanks
JP
If you follow the examples of detection used by Puppet and Facter you can check the /proc filesystem for hints.
The existence of /proc/vz/veinfo
would indicate you're running OpenVZ but the existence of /proc/vz/version
will tell you whether it's openvzhn or openvzve.
Next you can look for either /proc/sys/xen
, /sys/bus/xen
or /proc/xen
to see if you're running Xen but look for /proc/xen/capabilities
to tell if it's a dom0 or domU.
$ uname -a
.