Linux System Information Query: kernel version, Branch (release) Name, number of digits, cpu information, and linux Information Query
Linux System Information Query: kernel version, Branch (release version) Name, number of digits, cpu information, etc.
1. # uname-a (displays the system name, node name, distribution Number of the operating system, operating system version, and machine ID of the operating system .)
Linux hzhsan2015 2.6.32.12-0.7-default #1 SMP 2010-05-20 11:14:20 + 0200 x86_64 x86_64 x86_64GNU/Linux
# Uname-r (display the release number of the operating system)
2.6.32.12-0.7-default
2. # cat/proc/version (view the current operating system version in Linux)
Linux version2.6.32.12-0.7-default (geeko @ buildhost) (gcc version 4.3.4 [gcc-4_3-branchrevision 152973] (SUSE Linux) #1 SMP 2010-05-20 11:14:20 + 0200
3. # cat/etc/issue)
Welcome to SUSE Linux Kernel iseserver 11 SP1 (x86_64)-Kernel \ r (\ l ).
4. # cat/proc/cpuinfo (view cpu information in Linux, including model, clock speed, and kernel information)
Processor: 0
Vendor_id: GenuineIntel
Cpu family: 6
Model: 26
Model name: Intel (R) Xeon (R) CPU E5540 @ 2.53 GHz
Stepping: 5
Cpu MHz: 1600.000
Cache size: 8192 KB
Physical id: 0
Siblings: 8
Core id: 0
Cpu cores: 4
Apicid: 0
Initial apicid: 0
Fpu: yes
Fpu_exception: yes
Cpuid level: 11
Wp: yes
Flags: fpu vme de pse tsc msr pae mce eclipsep mtrr pge mca cmov pat limit 36 clflush dts acpi mmx fxsr sse sse2 ss httm pbe syscall nx rdtscp lm limit pebs bts limit pni limit monitor ds_cpl vmx est tm2 ssse3cx16 xtpr pdcm dca sse4_1 sse4_2 popcnt lahf_lm ida tpr_shadow vnmiflexpriority ept vpid
Bogomips: 5066.31
Clflush size: 64
Cache_alignment: 64
Address sizes: 40 bits physical, 48 bits virtual
Power management:
5. # getconf LONG_BIT (check the number of digits in the operating system in Linux. The value is 32-bit or 64-bit ...)
64
6. # lsb_release-
LSBVersion: core-2.0-noarch: core-3.2-noarch: core-4.0-noarch: core-2.0-x86_64: core-3.2-x86_64: core-4.0-x86_64: desktop-4.0-amd64: desktop-4.0-noarch: graphics-2.0-amd64: graphics-2.0-noarch: graphics-3.2-amd64: graphics-3.2-noarch: graphics-4.0-amd64: graphics-4.0-noarch
Distributor ID: SUSE LINUX
Description: SUSE Linux Enterprise Server 11 (x86_64)
Release: 11
Codename: n/
---- Add Begin ----
LSB is short for LinuxStandard Base. The lsb_release command is used to display information about LSB and specific versions. If this command is used without parameters, the-v parameter is added by default.
-V, -- version
Show version information
-I, -- id
Display the release ID
-D, -- description
Displays the description of the release.
-R, -- release
Displays the release version of the current system.
-C, -- codename
Release code
-A, -- all
Show all the above information
-H, -- help
Show Help Information
---- Add End ----