logo
关于我们

技术分享

技术分享 windows,linux,esxi系统判断当前主机是物理机还是虚拟机

windows,linux,esxi系统判断当前主机是物理机还是虚拟机

2017-07-12


Windows:

在CMD里输入:Systeminfo | findstr /i "System Model"

如果System Model:后面含有Virutal就是虚拟机,其他都是物理机

或者用powershell命令:get-wmiobject win32_computersystem | fl model

 

查windows主机SN序列号:

https://jingyan.baidu.com/album/90895e0f22672e64ec6b0b83.html?picindex=1

https://jingyan.baidu.com/article/c910274ba0fba5cd371d2d62.html

 


 

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  

查linux主机序列号:

https://www.cnblogs.com/itfriend/archive/2013/07/22/3204999.html

 

 


 

ESXI系统

进入命令行方法:https://blog.csdn.net/kepa520/article/details/51417391

查序列号命令:http://blog.51cto.com/liubin0505star/1717473

 

windows:wmic bios get serialnumber

 linux: dmidecode

 esxi:esxcli hardware platform get

 

云祺备份软件,云祺容灾备份系统,虚拟机备份,数据库备份,文件备份,实时备份,勒索软件,美国,图书馆
  • 标签:
  • 技术分享

您可能感兴趣的新闻 换一批

现在下载,可享30天免费试用

立即下载