linux查看服务器内核CUP版本相关命令

服务器参考

  • 计算架构:x86-64
  • 产品系列:华为云耀云服务器
  • 操作系列:CentOS 7

执行uname -a查看服务器内核版本

shell 复制代码
Linux hecs-82210 3.10.0-1160.92.1.el7.x86_64 #1 SMP Tue Jun 20 11:48:01 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

执行hostnamectl查看内核版本

shell 复制代码
   Static hostname: hecs-82210
         Icon name: computer-vm
           Chassis: vm
        Machine ID: 57beda17722b499da37e22c55c2ef57f
           Boot ID: b4500cf5a4c54b30bb17d5091f63b6aa
    Virtualization: kvm
  Operating System: CentOS Linux 7 (Core)
       CPE OS Name: cpe:/o:centos:centos:7
            Kernel: Linux 3.10.0-1160.92.1.el7.x86_64
      Architecture: x86-64

执行cat /proc/version查看内核版本

shell 复制代码
Linux version 3.10.0-1160.92.1.el7.x86_64 (mockbuild@kbuilder.bsys.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC) ) #1 SMP Tue Jun 20 11:48:01 UTC 2023

执行cat /proc/cpuinfo查看cpu信息

shell 复制代码
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 85
model name      : Intel(R) Xeon(R) Gold 6278C CPU @ 2.60GHz
stepping        : 7
microcode       : 0x1
cpu MHz         : 2600.000
cache size      : 36608 KB
physical id     : 0
siblings        : 2
core id         : 0
cpu cores       : 1
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology nonstop_tsc eagerfpu pni pclmulqdq ssse3 fma                cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single ssbd rsb_ctxsw ibrs ibpb stibp ibrs_enhanced fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erm               s invpcid rtm mpx avx512f avx512dq rdseed adx smap clflushopt clwb avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 arat avx512_vnni md_clear spec_ctrl intel_stibp flush_l1d arch_capabilities
bogomips        : 5200.00
clflush size    : 64
cache_alignment : 64
address sizes   : 42 bits physical, 48 bits virtual
power management:

processor       : 1
vendor_id       : GenuineIntel
cpu family      : 6
model           : 85
model name      : Intel(R) Xeon(R) Gold 6278C CPU @ 2.60GHz
stepping        : 7
microcode       : 0x1
cpu MHz         : 2600.000
cache size      : 36608 KB
physical id     : 0
siblings        : 2
core id         : 0
cpu cores       : 1
apicid          : 1
initial apicid  : 1
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology nonstop_tsc eagerfpu pni pclmulqdq ssse3 fma                cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single ssbd rsb_ctxsw ibrs ibpb stibp ibrs_enhanced fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erm               s invpcid rtm mpx avx512f avx512dq rdseed adx smap clflushopt clwb avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 arat avx512_vnni md_clear spec_ctrl intel_stibp flush_l1d arch_capabilities
bogomips        : 5200.00
clflush size    : 64
cache_alignment : 64
address sizes   : 42 bits physical, 48 bits virtual
power management:
aarch64和arm64小知识

aarch64是ARMv8-A架构中引入的64位指令集,aarch64向后兼容基于32位指令集的ARMv7-A和之前别的一些32位 ARM 架构(也就是aarch32)。

因此,64位ISA的 GUN 三元组是aarch64。

历史中,linux内核社区选择arm64作为内核的接口调用,而不是aarch64,这就导致遗留了一些arm64的用法。同样,Apple 后端团队也称aarch64位arm64,

所以 aarch64 和 arm64 是指同一个东西。

相关推荐
用户81744800633912 分钟前
从零搭建并加固个人博客:阿里云轻量服务器 + Hexo + Nginx 全流程实战
linux
飞奔的瓜牛1 小时前
Nginx + HAProxy 实现 TCP 代理:架构设计与实战配置
运维·tcp/ip·nginx
蝶依斓(湖南)全案整装1 小时前
整装企业内容中的施工进度表述:节点、周期、反馈机制怎么写
运维
xixiaoyunya1 小时前
FTP 文件备份的替代思路:用点对点自动化工具降低部署和维护成本
运维·备份
老一岁2 小时前
Redis事务_锁_持久化_主从哨兵
linux·数据库·redis
梓沂2 小时前
零成本替代 FTP:Ubuntu 24.04 搭建 Samba 共享,实现“一人可写,多人只读”
linux·运维·ubuntu
EmbeddedChen2 小时前
Linux 定时任务怎么设置?用 cron 自动执行脚本
linux·crontab·cron
IT小小猪2 小时前
子进程闪黑窗:pythonw 没有控制台,0x08000000 一个参数解决
运维·windows·python·自动化·进程管理
SHENGWEI胜为2 小时前
胜为CZDF-624六类24口免打配线架怎么安装?机房布线实操解析
服务器·网络·综合布线·rj45接口·胜为光通信·六类配线架
wuminyu2 小时前
OpenJDK学习笔记:Native事件队列与Java回调背压
java·linux·c语言·jvm·c++