美文网首页
判断你的liunx是哪种虚拟机

判断你的liunx是哪种虚拟机

作者: 逗比的一生 | 来源:发表于2020-05-15 11:11 被阅读0次

dmidecode -s system-product-name

# 物理机:
[root@swnode1]# dmidecode -s system-product-name
I840-GS

# 虚拟机:
[root@gnntdb DbBackup]# dmidecode -s system-product-name
VMware Virtual Platform

# ECS
Alibaba Cloud ECS

# openstack
OpenStack Compute

lscpu

[root@******]# lscpu
Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                4
On-line CPU(s) list:   0-3
Thread(s) per core:    1
Core(s) per socket:    1
Socket(s):             4
NUMA node(s):          1
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 79
Model name:            Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
Stepping:              1
CPU MHz:               2096.420
BogoMIPS:              4195.14
Hypervisor vendor:     VMware   # 这里
Virtualization type:   full
L1d cache:             32K
L1i cache:             32K
L2 cache:              256K
L3 cache:              20480K
NUMA node0 CPU(s):     0-3

相关文章

网友评论

      本文标题:判断你的liunx是哪种虚拟机

      本文链接:https://www.haomeiwen.com/subject/zpaqohtx.html