标签:linux 虚拟机
方法一: cat /proc/scsi/scsi
Attached devices:
Host: scsi1 Channel: 00 Id: 00 Lun: 00
Vendor: NECVMWar Model: VMware IDE CDR10 Rev: 1.00
Type: CD-ROM ANSI SCSI revision: 05
Host: scsi2 Channel: 00 Id: 00 Lun: 00
Vendor: VMware Model: Virtual disk Rev: 1.0
Type: Direct-Access ANSI SCSI revision: 02
看一下vendor 就知道是虚拟机了。
方法二:lspci | grep -i vmare
本文出自 “一路风景” 博客,请务必保留此出处http://which.blog.51cto.com/7179876/1767862
标签:linux 虚拟机
原文地址:http://which.blog.51cto.com/7179876/1767862