Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Is there a way to know for sure that your remote-ly hosted server is actually a dedicated, and not just a virtual, "faking" to be a dedicated? What are some possible shell commands to run to test this?

share|improve this question
    
Possible duplicate of serverfault.com/questions/149877/… –  Andrew Jun 22 '10 at 4:32
1  
virtual and dedicated are not mutually exclusive. as well as consolidation, virtualisation can also be used just for quick deployment and to abstract hardware –  JamesRyan Jun 22 '10 at 10:22
    
I agree with @JamesRyan. It is (getting more and more) common to virtualize dedicated servers to make the guest OS easy to move around if the hardware dies. –  Joe Feb 20 '11 at 8:13

4 Answers 4

"lspci", the unix command, would be the easiest method. It lists the hardware the machine is running on, and if you see things like "Vmware", then the machine is likely not dedicated. However, if the hardware looks like the hardware you are supposed to have, then it's most likely a dedicated machine.

share|improve this answer

Linux or windows?

if Linux:

1: uname -a and check the kernel version - some virtualization software such as Xen will put -xen in the kernel name. 2: type: dmesg and look for traces of vmware, xen, citrix etc, for example my vmware vm shows: [ 16.560987] VMware memory control driver initialized [ 16.560987] vmmemctl: started kernel thread pid=3227

as one example. another exmaple: [ 4.051578] scsi 0:0:0:0: Direct-Access VMware Virtual disk 1.0 PQ: 0 ANSI: 2

in windows check device manager and check the items, some will say vmware disk or things like that.

hope this helps.

share|improve this answer

Also in Windows you can check installed applications for vm-ware tools or equivalent. These are not always installed though

share|improve this answer

In linux/freebsd: dmesg|grep -i vmware (or xen, kvm, etc)

In windows: Alt+r (run command), msinfo32. Look at the hardware description on the right side.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.