Il 19/09/23 16:51, Denis Fondras ha scritto:
Le Tue, Sep 19, 2023 at 03:13:21PM +0200, Alessandro Baggi a écrit :
Hi list,
there is a way to check if  OpenBSD runs on VM or physical hardware?

Something like in sysctl or similar.

Thank you in advance.


You may want to check the `hw` variable :

$ sysctl hw
[...]
hw.model=Common KVM processor
hw.vendor=QEMU
[...]


Hi and thank you for your answer.

I already seen this in sysctl but what if another hypervisor is used? Like VMWare or other?

Thank you in advance.

Reply via email to