Is This Machine Physical or Virtual?
Hi,
Title says it all. I need to be sure of whether a machine is physical or virtual. We have lots of both in our organisation. I've run the following commands but have not spotted anything that has convinced me either way. If anything, I am leaning towards virtual due to the df output. Anyone have a foolproof way of working it out? TIA. Code:
uname -a |
have you tried 'fdisk -l' as root. If you have drives or partitions you can't see, it might point you.
I would also go for /etc/fstab for the same reason. |
i hope from lspci output you can get some idea whether it is physical or virtual
this is my virtual server lspci output Quote:
|
For VirtualBox, look for /sys/devices/virtual/misc/vbox*
|
A PIII has to be physical
|
Great, thanks guys. All useful replies. The sample lspci output is especially helpful, it should of course have some VM devices listed (duh, I should've thought of that).
|
All times are GMT -5. The time now is 02:44 PM. |