Detect whether the server is virtual or a container
is this a vps or dedicated server | is the server running in a vm | which hypervisor am i on | systemd | virtualization | vmsystemd-detect-virtPrints a single word: none on real hardware, otherwise the detected technology such as kvm, vmware, microsoft (Hyper-V), xen, openvz or lxc. Important for judging whether SMART values, sensors or custom kernel modules are available at all.
Note: -c checks only for containers, -v only for virtual machines.
Also searched as
- is this a vps or dedicated server
- is the server running in a vm
- which hypervisor am i on