title: How do i know if the machine is a virtual or physical
body: <p>I am developing an app which runs or all physical machines and virtual machines of MAC. I want to differentiate the both. Is there any command to know what type of machine it is.</p>