hostnamectl查看linux的版本、虚拟化、内核信息
# hostnamectl
Static hostname: TrustGate.com
Pretty hostname: sdfbp117v57fgf2qnraaudf
Icon name: computer-vm
Chassis: vm
Machine ID: 201712211466107b45780a0002020233
Boot ID: 9d797ad679644ae89cddca75c8f4cfff
Virtualization: kvm
Operating System: Alibaba Cloud Enterprise Linux Server 17.01 (Golden Toad)
Kernel: Linux 4.4.95-1.al7.x86_64
Architecture: x86-64
搜索更多相关主题的帖子:
linux 虚拟化