Is there an OS command I can run from within a Xen based virtual machine to tell me that it is a virtual box rather than a physical box – I heard that the kernel had some self awareness smarts about it. e.g. like an extra column in “ps” output or something? [I know vmstat provides the “st” column but I have seen this on physical host boxes running Linux Kernel 2.6.11 and greater as well].
Many Thanks,
Paul
Dmesg may give some hints from the kernel message buffer, here is output on a virtualized Ubuntu instance from Slicehost: