I ordered a dedicated server 1 month ago and I want to make sure my server is dedicated and not a VPS or Shared server. Are there any tools I can verify that my server is running on bare metal and that I am the only user?
I ordered a dedicated server 1 month ago and I want to make sure my server is dedicated and not a VPS or Shared server. Are there any tools I can verify that my server is running on bare metal and that I am the only user?
First, you should trust your hosting provider. If you think they sold you a VPS, maybe you should reconsider this provider. Just to make sure you have a dedicated you can try this:
Does the command
esxtop
work ?This tool is used to check performances on Virtual Machines
Check the network interfaces.
Run the command
ifconfig
. If you see something like this:you are probably have a VPS since venet0 is telling that this server is being an OpenVZ VPS. Note: This is not 100% fool proof, some VPS like Xen have an eth0.
Check devices/system:
Run
lspci
anddmesg
as root. If you see something like:Then you are using a VPS.
Check if some files exists:
If it's a VPS running OpenVZ they'd have a file called
/proc/user_beancounters
. View http://wiki.openvz.org/Proc/user_beancounters for more details.Look if
/proc/vz
or/proc/vz/veinfo
exists (for OpenVZ) or/proc/sys/xen, /sys/bus/xen or /proc/xen
(for Xen)Check if
/proc/self/status
has ans_context
orVxID
field.If one of these file exists, then you have a VPS.
IP lookup:
You could do a reverse IP lookup to check to see if any other websites are hosted on the same IP.
Check Memory:
Run
lspci
and look for RAM memory:Qumranet, Inc. Virtio memory balloon
. Then you have a VPS.To augment @Book Of Zeus' answer, if you are running under KVM you will see things like:
And under XenCenter:
You may just want to execute the command
dmidecode -t system
and check the output of the "Manufacturer" which will give you an idea about the machine you are working on.Enter the command "df -h". If you see a virtual file system type, then that indicates you're on a virtual machine. For eg. "vzfs" is the Virtuozzo file system virtualization technology developed by Parallels, Inc.
What I see on my virtual private server: