how to determine is system is KVM, Openvz or hardware?
for some scripts, we need to know the type of system.. we are concerned with linux systems only.
so what do I test for:
openvz : true if /proc/vz exits
kvm : true if ?
otherwise : hardware .
I have not been able to figure out how to tell if a system is kvm or hardware.
In case anyone knows, please reply.
thank you
for some scripts, we need to know the type of system.. we are concerned with linux systems only.
so what do I test for:
openvz : true if /proc/vz exits
kvm : true if ?
otherwise : hardware .
I have not been able to figure out how to tell if a system is kvm or hardware.
In case anyone knows, please reply.
thank you
Last edited: