免费预览已结束,剩余1页可下载查看
下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
Linux查看内核、CPU等信息的命令查看系统内核版本命令:uname -amore /etc/*releasemore /etc/redhat-releasemore /proc/versionrootlocalhost # uname -aLinux localhost.localdomain 2.6.9-22.ELsmp #1 SMP Mon Sep 19 18:00:54 EDT 2005 x86_64 x86_64 x86_64 GNU/Linuxrootlocalhost # more /etc/*releaseRed Hat Enterprise Linux AS release 4 (Nahant Update 2)rootlocalhost # more /etc/redhat-releaseRed Hat Enterprise Linux AS release 4 (Nahant Update 2)rootlocalhost # more /etc/issueRed Hat Enterprise Linux AS release 4 (Nahant Update 2)Kernel r on an m rootlocalhost # more /proc/versionLinux version 2.6.9-22.ELsmp () (gcc version 3.4.4 20050721 (Red Hat 3.4.4-2) #1 SMP Mon Sep 19 18:00:54 EDT 2005查看cpu信息grep model name /proc/cpuinforootlocalhost # grep model name /proc/cpuinfomodel name : Dual-Core AMD Opteron(tm) Processor 2216rootlocalhost # more /proc/cpuinfoprocessor : 0vendor_id : AuthenticAMDcpu family : 15model : 65model name : Dual-Core AMD Opteron(tm) Processor 2216stepping : 2cpu MHz : 2412.409cache size : 1024 KBphysical id : 0siblings : 2core id : 0cpu cores : 2fpu : yesfpu_exception : yescpuid level : 1wp : yesflags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext lm 3dnowext 3dnow pni cx16 ts fid vid ttp 芬+3bogomips : 4849.66TLB size : 1088 4K pagesclflush size : 64cache_alignment : 64address sizes : 40 bits physical, 48 bits virtualpower management: ts fid vid ttp 4 5processor : 1vendor_id : AuthenticAMDcpu family : 15model : 65model name : Dual-Core AMD Opteron(tm) Processor 2216stepping : 2cpu MHz : 2412.409cache size : 1024 KBphysical id : 0siblings : 2core id : 1cpu cores : 2fpu : yesfpu_exception : yescpuid level : 1wp : yesflags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext lm 3dnowext 3dnow pni cx16 ts fid vid ttp 芬+3bogomips : 4816.89TLB size : 1088 4K pagesclflush size : 64cache_alignment : 64address sizes : 40 bits physical, 48 bits virtualpower management: ts fid vid ttp 4 5processor : 2vendor_id : AuthenticAMDcpu family : 15model : 65model name : Dual-Core AMD Opteron(tm) Processor 2216stepping : 2cpu MHz : 2412.409cache size : 1024 KBphysical id : 1siblings : 2core id : 2cpu cores : 2fpu : yesfpu_exception : yescpuid level : 1wp : yesflags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext lm 3dnowext 3dnow pni cx16 ts fid vid ttp 芬+3bogomips : 4816.89TLB size : 1088 4K pagesclflush size : 64cache_alignment : 64address sizes : 40 bits physical, 48 bits virtualpower management: ts fid vid ttp 4 5processor : 3vendor_id : AuthenticAMDcpu family : 15model : 65model name : Dual-Core AMD Opteron(tm) Processor 2216stepping : 2cpu MHz : 2412.409cache size : 1024 KBphysical id : 1siblings : 2core id : 3cpu cores : 2fpu : yesfpu_exception : yescpuid level : 1wp : yesflags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca mov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext lm 3dnowext 3dnow pni cx16 ts fid vid ttp 芬+3bogomips : 4816.89TLB size : 1088 4K pagesclflush size : 64cache_alignment : 64address sizes : 40 bits physical, 48 bits virtualpower management: ts fid vid ttp 4 5查看cpu的位数getconf LONG_BITrootlocalhost # getconf LONG_BIT 64rootlocalhost # ls /bin dev home lib lost+found misc opt root selinux sys tftpboot update usrboot etc initrd lib64 media mnt proc sbin srv test tmp updates var要是在root下ls 有lib64文件夹说明系统64查看libc、gcc版本ldd /sbin/mii-toolrpm -qa | grep glibcgcc versionrootlocalhost # ldd /sbin/mii-toollibc.so.6 = /lib64/tls/libc.so.6 (0x0000002a9566c000)/lib64/ld-linux-x86-64.so.2 (0x0000002a95556000)rootlocalhost # rpm -qa | grep glibcglibc-2.3.4-2.13compat-glibc-2.3.2-95.30glibc-utils-2.3.4-2.13glibc-common-2.3.4-2.13glibc-headers-2.3.4-2.13glibc-devel-2.3.4-2.13compat-glibc-2.3.2-95.30glibc-profile-2.3.4-2.13glibc-2.3.4-2.13glibc-kernheaders-2.4-9.1.98.ELcompat-glibc-headers-2.3.2-95.30glibc-devel-2.3.4-2.13rootlocalhost # gcc -versiongcc (GCC) 3.4.4 20050721 (Red Hat 3.4.4-2)Copyright (C) 2004 Free Software Foundation, Inc.This is free software; see the source for copying conditions. There is NOwarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.查看内存信息more /proc/meminfogrep MemTotal /proc/meminforootlocalhost # more /proc/meminfoMemTotal: 4045176 kBMemFree: 2424704 kBBuffers: 96884 kBCached: 1027088 kBSwapCached: 0 kBActive: 807884 kBInactive: 618432 kBHighTotal: 0 kBHighFree: 0 kBLowTotal: 4045176 kBLowFree: 2424704 kBSwapTotal: 2031608 kBSwapFree: 2031608 kBDirty: 24 kBWriteback: 0 kBMapped: 346192 kBSla
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- TCECS 1334-2023 建筑门窗安装工程技术规程
- 茶叶产业创新发展规划
- 网络文学产业发展前景预测
- 基金项目经理校招面试题及答案
- 公务员面试马上面试题及答案
- 互联网技术运营经理招聘面试题及答案
- 公务员面试课面试题及答案
- 国家融资担保基金招聘面试题及答案
- 格兰仕招聘真题及答案
- 公务员考试省考试试题及答案
- 育婴员初级复习题与答案
- 燃气题库考试
- 风电对鸟类迁徙影响研究-洞察及研究
- 校园数据安全管理制度
- 2025年四川成都环境投资集团有限公司及下属公司招聘笔试参考题库含答案解析
- 热力管道维修合同协议书
- 沉浸式元宇宙内容创作与用户体验研究-洞察阐释
- 美业行业接待顾客流程
- 防雷防汛防台风培训课件
- 证券投资理论与实务考点重点讲义
- 加油站便利店管理
评论
0/150
提交评论