查看linuxlinux查看系统是几核多少位

查看linux系统是多少位 - 技术存档 - ITeye博客
博客分类:
这3个是对的
getconf LONG_BITecho $HOSTTYPE
64位的显示Linux ps4 2.6.16.46-0.12-smp #1 SMP Thu May 17 14:00:09 UTC
x86_64 x86_64 GNU/Linux后面显示有 x86_64
32位的显示:Linux fc6 2.6.18-1.2798.fc6 #1 SMP Mon Oct 16 14:54:20 EDT
i686 i386 GNU/Linux
gabrielyang
浏览: 3455 次
来自: 深圳
这个最终的excel关闭值得讨论,在有些情况下,excel会一 ...终端输入getconf LONG_BIT
本文已收录于以下专栏:
相关文章推荐
linux 查看系统信息命令是linux初学者必备的基础知识, 这些命令也非常有用, 因为进入linux第一件事就可能是首先查看系统信息, 因此必要的系统的学习一下这些linux系统信息命令还是非常有...
查看Linux内核版本命令1、cat /proc/version[root@localhost ~]# cat /proc/version
Linux version 2.6.18-194.8.1.e...
1. 查看内核版本命令:
  1) [root@q1test01 ~]# cat /proc/version
    Linux version 2.6.9-22.ELs...
如何查看Linux操作系统版本?
1. 查看内核版本命令:
chen@mylinuxserver:~> cat /proc/version
Linux version 2.6.5-7.2...
第一种方法:
# lsb_release -a
LSB Version:
:core-4.0-ia32:core-4.0-noarch:graphics-4.0-ia32:graphics-...
平时经常要查看服务器的系统版本信息,一台两台还好办,关键是别人安装的,还有N台,那么你就要看一看了,因为有些软件在不同的版本上配置有所区别,你觉得无所谓,那么闯祸了自i背着!还有有时候,不同系统功能也...
cat /etc/issue
运行结果:
一。查看内核版本命令:
1) [root@SOR_SYS ~]# cat /proc/version
Linux version 2.6.18-238.el5 (mockbuild@x86-012...
1图形中查看进程
gnome-system-monitor2命令查看进程
ps 查找与进程相关的PID号:
ps a 显示现行终端机下的所有程序,包括其他...
### getconf WORD_BIT 错误的
这3个是对的
getconf LONG_BIT
echo $HOSTTYPE
您举报文章:
举报原因:
原文地址:
原因补充:
(最多只允许输入30个字)linux查看系统版本和系统位数
you will view &kernel name、network node
hostname、kernel release、kernel version、machine hardware
name、processor type 、hardware platform、operating system
his file will not show you the name of the actual OS release, but
will instead give you specifics about the version of Linux kernel
used in your distribution, and confirm the version of a GCC
compiler used to build it.
If you cat the /proc/version file, this is what you're going to see
(I'm using a CentOS 5.4 system for this):
cat /proc/version
Linux version 2.6.18-164.11.1.el5 (mockbuild@builder16.centos.org)
(gcc version 4.1.2
(Red Hat 4.1.2-46)) #1 SMP Wed Jan 20
07:39:04 EST 2010
In this output, you get to see the following information:
Exact version of the Linux kernel used in your OS: Linux version
2.6.18-164.11.1.el5
Name of the user who compiled your kernel, and also a host name
where it happened: mockbuild@builder16.centos.org
Version of the GCC compiler used for building the kernel: gcc
version 4.1.2
Type of the kernel & SMP here means Symmetric MultiProcessing
kernel, the one that supports systems with multiple CPUs or
multiple cpu cores
Date and time when the kernel was built: Wed Jan 20 07:39:04 EST
Catting /proc/version or uname will only show you information that
has been set for compile into the kernel. Only the major
distributions will put some special marks for identification, in
the form such as custom kernel version tag or gcc version string.
But this is not necessarily true especially if the kernel is a self
compiled kernel.
For example, here is the /proc/version from my Slackware
这个命令适用于所有的linux,包括Redhat、SuSE、Debian等发行版,但不能查看系统位数。
不同的 UNIX-like 操作系统根据他们的发行版本不同而存储信息不同
bash-3.1$ cat /etc/redhat-release
Red Hat Enterprise Linux Client release 5 (Tikanga)
bash-3.1$ cat /etc/issue
Ubuntu 6.10 n l
~& cat /etc/SuSE-release
SUSE Linux Enterprise Desktop 10 (x86_64)
VERSION = 10
bash-2.03$ cat /etc/release
Solaris 8 2/04 s28s_hw4wos_05a SPARC
Copyright 2004 Sun Microsystems, Inc. &All Rights
Assembled 08 January 2004
已投稿到:
以上网友发言只代表其个人观点,不代表新浪网的观点或立场。查看linux机器是32位还是64位的方法:
方法一:file /sbin/init
file /bin/ls
结果如下:/sbin/init: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.
查看linux机器是32位还是64位的方法:
方法一:file /sbin/init
file /bin/ls
结果如下:/sbin/init: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, stripped
如果显示 64-bit 则为64位;file /sbin/init/sbin/init: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.5, dynamically linked (uses shared libs), stripped
如果显示为32 bit 则为32bit;方法二:uname -a:uname -aLinux pmx002**.**.**
2.6.32-71.el6.x86_64 #1 SMP Wed Sep 1 01:33:01 EDT
x86_64 x86_64 GNU/Linux
x86_64表示64位机器uname -aLinux pmx0**.**.**
2.6.9-5.ELsmp #1 SMP Wed Jan 5 19:30:39 EST
i686 i386 GNU/Linux
i686表示32位机器方法三:也是看linux是32位还是64位最简单的方法:getconf LONG_BIT
在32位和64位机器上运行如下命令,结果如下:[b@002 ~]$ getconf LONG_BIT64[root@pmx4 /]# getconf LONG_BIT32
参考至:/hehongrong/item/20c296bcf8d834432aebe3b2
如有错误,欢迎指正
作者:czmmiao
文章出处:/blog/2055808
版权声明:本文内容由互联网用户自发贡献,本社区不拥有所有权,也不承担相关法律责任。如果您发现本社区中有涉嫌抄袭的内容,欢迎发送邮件至: 进行举报,并提供相关证据,一经查实,本社区将立刻删除涉嫌侵权内容。
用云栖社区APP,舒服~
【云栖快讯】数据库技术天团集体亮相,分享一线生产实践经验,告诉你踩过的坑、走过的路,都是老司机,靠谱!干货分享,不可错过!&&
深度挖掘企业与企业、企业与人物的关系,通过多位交叉分析及智能算法,构建基于企业全息画像和企业关系网络的风险洞察、...
支持MySQL、SQL Server、PostgreSQL、MongoDB、Redis等关系型数据库和NoSQL...
云数据库HybridDB(ApsaraDB HybridDB)是一种在线MPP大规模并行处理数据仓库服务。云数据...
为您提供简单高效、处理能力可弹性伸缩的计算服务,帮助您快速构建更稳定、安全的应用,提升运维效率,降低 IT 成本...
2017杭州云栖大会火热抢票
Loading...博客访问: 314473
博文数量: 110
博客积分: 1156
博客等级: 少尉
技术积分: 1366
注册时间:
go!go!go!
IT168企业级官微
微信号:IT168qiye
系统架构师大会
微信号:SACC2013
分类: LINUX
有以下几种方法1.可以通过uname -a查看,如果有x86_64 x86_64 x86_64 GNU/Linux 信息(x86_64)即机器为64位,普通无(_64)就为32位2.通过命令getconf LONG_BIT查看得到多少,就是多少位
阅读(1884) | 评论(0) | 转发(0) |
相关热门文章
给主人留下些什么吧!~~
请登录后评论。}

我要回帖

更多关于 linux查看系统版本 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信