1.查看版本,内核

evan@evan-desktop:~$ cat /etc/issue
Ubuntu 10.04 LTS \n \l

evan@evan-desktop:~$ cat /proc/version
Linux version 2.6.32-21-generic (buildd@rothera) (gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) ) #32-Ubuntu SMP Fri Apr 16 08:10:02 UTC 2010
evan@evan-desktop:~$ uname -r
2.6.32-21-generic

2.查看cpu,mem

evan@evan-desktop:~$ grep "model name" /proc/cpuinfo
model name    : Pentium(R) Dual-Core  CPU      E5200  @ 2.50GHz
model name    : Pentium(R) Dual-Core  CPU      E5200  @ 2.50GHz
evan@evan-desktop:~$ cat /proc/cpuinfo
processor    : 0
vendor_id    : GenuineIntel
cpu family    : 6
model        : 23
model name    : Pentium(R) Dual-Core  CPU      E5200  @ 2.50GHz
stepping    : 6
cpu MHz        : 1203.000
cache size    : 2048 KB
physical id    : 0
siblings    : 2
core id        : 0
cpu cores    : 2
apicid        : 0
initial apicid    : 0
fdiv_bug    : no
hlt_bug        : no
f00f_bug    : no
coma_bug    : no
fpu        : yes
fpu_exception    : yes
cpuid level    : 10
wp        : yes
flags        : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm lahf_lm
bogomips    : 5000.49
clflush size    : 64
cache_alignment    : 64
address sizes    : 36 bits physical, 48 bits virtual
power management:

processor    : 1
vendor_id    : GenuineIntel
cpu family    : 6
model        : 23
model name    : Pentium(R) Dual-Core  CPU      E5200  @ 2.50GHz
stepping    : 6
cpu MHz        : 1203.000
cache size    : 2048 KB
physical id    : 0
siblings    : 2
core id        : 1
cpu cores    : 2
apicid        : 1
initial apicid    : 1
fdiv_bug    : no
hlt_bug        : no
f00f_bug    : no
coma_bug    : no
fpu        : yes
fpu_exception    : yes
cpuid level    : 10
wp        : yes
flags        : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm lahf_lm
bogomips    : 5000.44
clflush size    : 64
cache_alignment    : 64
address sizes    : 36 bits physical, 48 bits virtual
power management:

evan@evan-desktop:~$ grep MemTotal /proc/meminfo
MemTotal:        1017052 kB
evan@evan-desktop:~$ free
             total       used       free     shared    buffers     cached
Mem:       1017052     975076      41976          0       2964     295680
-/+ buffers/cache:     676432     340620
Swap:            0          0          0

3.查看操作系统位数

evan@evan-desktop:~$ getconf LONG_BIT
32
evan@evan-desktop:~$ ldd /sbin/mii-tool
    linux-gate.so.1 =>  (0x00736000)
    libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0x00110000)
    /lib/ld-linux.so.2 (0x00bec000)

转载于:https://www.cnblogs.com/eavn/archive/2010/09/08/1821774.html

查看 linux系统版本,内核,CPU,MEM,位数的相关命令(实验)相关推荐

  1. 查看linux系统版本,内核,CPU,MEM,位数的相关命令

    查看linux系统版本,内核,CPU,MEM,位数的相关命令 1.查看版本,内核 cat /etc/issue cat /proc/version uname -r 2.查看cpu,mem grep ...

  2. 查看Linux系统版本内核命令大全

    目录 命令一:查看当前系统发行版本详细信息 命令二:查看当前系统内核信息 命令三:查看当前系统版本信息 命令四:查看CPU相关信息 命令五:查看系统位数 Linux系统内核.发行版本有很多,那么如何查 ...

  3. 查询linux版本信息 sp,查看Linux系统版本和内核信息

    Linux 查看Linux系统版本信息 1. 查看内核版本 1) 方法一:登录到linux执行cat /proc/version [[email protected]_32bit_ip12 ~]$ c ...

  4. Linux命令(一)——查看Linux的版本、CPU等系统信息

    目录 一.查看Linux版本信息: 1.查看Linux内核版本信息 (1)  /proc/version文件 (2) uname 命令 2.查看Linux系统版本信息 (1)  lsb_release ...

  5. 查看linux系统版本信息 lsb_release -a

    查看linux系统版本信息 查看linux系统版本信息命令:lsb_release -a linux查询gcc版本及相关的命令 一. 1.gcc版本 gcc -v cat /proc/version ...

  6. 【LInux】查看Linux系统版本信息

    一.查看Linux内核版本命令(两种方法): 1.cat /proc/version [root@S-CentOS home]# cat /proc/version Linux version 2.6 ...

  7. linux版本查看命令多少位,查看linux系统版本命令32位还是64位

    有的时候不知道我安装的是Linux 64位的还是Linux32位的,因为下载页面常常同时提供32位和64位版本的软件.所以弄清楚你的操作系统是32位的还是64位的十分重要,那么怎么查看linux系统版 ...

  8. 查看linux系统版本信息(Oracle Linux、Centos Linux、Redhat Linux、Debian、Ubuntu)

    一.查看Linux系统版本的命令(3种方法) 1.此命令也适用于所有的Linux发行版. cat /etc/issue [root@S-CentOS home]# cat /etc/issue Cen ...

  9. linux家用系统版本,查看linux系统版本

    篇一:linux下如何查看系统和内核版本 linux下如何查看系统和内核版本 1. 查看内核版本命令: 1) [root@q1test01 ~]# cat /proc/version Linux ve ...

最新文章

  1. 票据自动处理系统著名研究团队
  2. IROS 2021 | 激光视觉融合新思路?Lidar强度图+VPR
  3. java byte 循环左移 循环右移 rotateLeft rotateRight
  4. 我是一个*** (三)
  5. 基于人人网的简单爬虫(二)——具体实现
  6. spring security oauth2 资源服务器配置
  7. python刚需_python案例(六): RFM在玩什么?
  8. 迅捷word转换成pdf转换器 4.1 官方版
  9. 【深入浅出精华版视频】-刘意day13思维导图整理
  10. 线性代数之 矩阵乘法的本质
  11. MQL5 COOKBOOK: 获取仓位属性
  12. 经验分享:使用谷歌浏览器下载想要的任意网页视频/音乐的方法
  13. python创建xlsx文件_教程1:创建一个简单的XLSX文件
  14. 图片轮播且可以实现5张翻页
  15. 股价翻番 人生赢家,python爬取基金 筛选股票
  16. Facebook北京大学2015年宣讲会小记【Facebook Technical Talk】
  17. vue element 重新上传图片(将已经上传过的图片链接重新上传)
  18. 2023年批量下载和改名音频专辑(多页列表)
  19. 管理员账户没有系统维护权限处理办法
  20. Makfile详解-工作流程

热门文章

  1. npm工具运行Vue项目
  2. vue mianjs 引用css_7个有用的Vue开发技巧
  3. SQL Server where和having区别
  4. android uri内部协议,Android 解析 Intent 协议并打开程序 – 热爱改变生活
  5. 如何计算页面打开获取流量_网站SEO优化如何获取更多的流量?
  6. 贪心法——LeetCode Assign Cookies分饼干
  7. Unity3D基础11:Rigidbody物理类组件
  8. bzoj 1019: [SHOI2008]汉诺塔(打表)
  9. pytorch中lr_scheduler的使用
  10. 教授先生带你学习链表:双向链表3