CentOS View kernel version, system version, number of system bits

Source: Internet
Author: User

CentOS View kernel version, system version, number of system bits

View Linux kernel versions

[Email protected] ~]# cat/proc/version Linux version 2.6.32-358.el6.x86_64 ([email protected]) (GCC version 4.4.720120 313 (Red Hat 4.4.7-3) (GCC)) #1 SMP Fri Feb 00:31:26 UTC [[email protected] ~]# uname-a Linux mongo02 2.6.3 2-358.el6.x86_64 #1 SMP Fri Feb 00:31:26 UTC x86_64 x86_64x86_64 gnu/linux [[email protected] ~]# Uname-r 2. 6.32-358.el6.x86_64

Viewing the operating system version

1. List all version information

[Email protected] ~]# lsb_release-a LSB Version:: Base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:gra Phics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch Distributor Id:centos Description:ce Ntos release 6.4 (Final) release:6.4 codename:final


Note: This command applies to all Linux, including Redhat, SuSE, Debian, and other distributions.

2. Executive Cat/etc/issue

[Email protected] ~]# cat/etc/issue CentOS release 6.4 (Final) Kernel \ r on an \m

3. Executive Cat/etc/redhat-release

[Email protected] ~]# cat/etc/redhat-release CentOS release 6.4 (Final)

See if the system is 64-bit or 32-bit

1.getconf long_bit or getconf word_bit

[Email protected] ~]# getconf long_bit 64

2.file/bin/ls

[Email protected] ~]# file/bin/ls/bin/ls:elf 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (US ES shared libs), for Gnu/linux 2.6.18, stripped

3.lsb_release-a

[Email protected] ~]# lsb_release-a LSB Version:: Base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:gra Phics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch Distributor Id:centos Description:ce Ntos release 6.4 (Final) release:6.4 codename:final


This article is from the SQL Server deep dives blog, so be sure to keep this source http://ultrasql.blog.51cto.com/9591438/1640435

CentOS View kernel version, system version, number of system bits

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.