台式电脑

电脑i440fx怎么样(Linux下查看虚拟机还是物理机)

1.dmesg命令

[root@Template~]#dmesg|grep-ihypervisor[0.000000]Hypervisordetected:KVM2.lscpu命令

[root@Template~]#lscpu|grepHypervisorHypervisorvendor:KVM

Hypervisorvendor:KVM#虚拟机

Virtualization:VT-x#实体机

电脑i440fx怎么样(Linux下查看虚拟机还是物理机)

KVM:

虚拟化技术有两种类型的实现:

Type-I:hypervisor------>VM

Type-II:host------>VM----->VMS

3.systemd-detect-virt命令

[root@Template~]#systemd-detect-virtkvmLinux下查看虚拟机还是物理机

4.dmidecode命令

[root@Template~]#dmidecode-t1#dmidecode3.2GettingSMBIOSdatafromsysfs.SMBIOS2.8present.Handle0x0100,DMItype1,27bytesSystemInformationManufacturer:QEMUProductName:StandardPC(i440FX+PIIX,1996)Version:pc-i440fx-7.2SerialNumber:NotSpecifiedUUID:691b84b0-ff79-4d28-bcba-19fc255abdf0Wake-upType:PowerSwitchSKUNumber:NotSpecifiedFamily:NotSpecified

相关新闻

返回顶部