标签:虚拟 inux exchange 输入 min info stack family strong
参考网站:https://blog.csdn.net/yangzhenping/article/details/49996765
Windows:
在CMD里输入:Systeminfo | findstr /i "System Model"
如果System Model:后面含有Virutal就是虚拟机,其他都是物理机
或者用powershell命令:get-wmiobject win32_computersystem | fl model
Linux:
在bash里输入:dmidecode -s system-product-name
或者lshw -class system
或者dmesg | grep -i virtual
具体参考:http://unix.stackexchange.com/questions/89714/easy-way-to-determine-virtualization-technology
标签:虚拟 inux exchange 输入 min info stack family strong
原文地址:https://www.cnblogs.com/yaok430/p/9042381.html