Description
Detects the virtualization technology a machine is running under. It helps scripts and administrators tell whether a system is bare metal, a virtual machine, or a specific virtualization platform.
It is useful for provisioning, diagnostics, support scripts, cloud images, and configuration decisions. Detection can depend on exposed hardware or firmware hints, so results should be treated as evidence rather than absolute proof.