본문 바로가기

리눅스 버전 및 CPU등 환경정보 확인

MintState 2013년 5월 14일 오후 5:15 조회 13981

리눅스 버전 및 CPU등 환경정보 확인

프롬프트 명령어를 통해서 리눅스 정보를 알아봅니다.

- 리눅스 버전

# cat /etc/issue
CentOS release 5.7 (Final)
Kernel \r on an \m

또는 

# cat /etc/redhat-release
CentOS release 5.7 (Final)

- 리눅스 커널

# cat /proc/version
Linux version 2.6.18-274.3.1.el5PAE (mockbuild@builder10.centos.org) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-51)) #1 SMP Tue Sep 6 20:56:05 EDT 2011

- 커널 BIT

# getconf WORD_BIT
32

- Kernel Architecture

# uname -m
i686
# uname (옵션)
>> 옵션
-a : All 모든 정보
-i : Platform 정보
-m : System Kernel Architecture 정보
-n : Nodename(Host name) 정보
-p : Processor(Processor type) 정보
-r : System OS Release 정보
-s : System OS 정보
-v : Kernel ID 정보
-X : 조금더 디테일 한 정보
-S : 호스트 이름 변경

- CPU 정보

# cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 30
model name      : Intel(R) Xeon(R) CPU           X3430  @ 2.40GHz
stepping        : 5
cpu MHz         : 2394.221
cache size      : 8192 KB
physical id     : 0
siblings        : 4
core id         : 0
cpu cores       : 4
apicid          : 0
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 11
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx rdtscp lm constant_tsc nonstop_tsc pni monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr sse4_1 sse4_2 popcnt lahf_lm [8]
bogomips        : 4788.44

processor       : 1
vendor_id       : GenuineIntel
cpu family      : 6
model           : 30
model name      : Intel(R) Xeon(R) CPU           X3430  @ 2.40GHz
stepping        : 5
cpu MHz         : 2394.221
cache size      : 8192 KB
physical id     : 0
siblings        : 4
core id         : 1
cpu cores       : 4
apicid          : 2
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 11
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx rdtscp lm constant_tsc nonstop_tsc pni monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr sse4_1 sse4_2 popcnt lahf_lm [8]
bogomips        : 4787.93

processor       : 2
vendor_id       : GenuineIntel
cpu family      : 6
model           : 30
model name      : Intel(R) Xeon(R) CPU           X3430  @ 2.40GHz
stepping        : 5
cpu MHz         : 2394.221
cache size      : 8192 KB
physical id     : 0
siblings        : 4
core id         : 2
cpu cores       : 4
apicid          : 4
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 11
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx rdtscp lm constant_tsc nonstop_tsc pni monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr sse4_1 sse4_2 popcnt lahf_lm [8]
bogomips        : 4787.94

processor       : 3
vendor_id       : GenuineIntel
cpu family      : 6
model           : 30
model name      : Intel(R) Xeon(R) CPU           X3430  @ 2.40GHz
stepping        : 5
cpu MHz         : 2394.221
cache size      : 8192 KB
physical id     : 0
siblings        : 4
core id         : 3
cpu cores       : 4
apicid          : 6
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 11
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx rdtscp lm constant_tsc nonstop_tsc pni monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr sse4_1 sse4_2 popcnt lahf_lm [8]
bogomips        : 4787.93

- 메모리 정보

# cat /proc/meminfo
MemTotal:      4139004 kB
MemFree:        226916 kB
Buffers:        259636 kB
Cached:        3096328 kB
SwapCached:      67732 kB
Active:        1645268 kB
Inactive:      2168300 kB
HighTotal:     3268224 kB
HighFree:        78664 kB
LowTotal:       870780 kB
LowFree:        148252 kB
SwapTotal:     4192924 kB
SwapFree:      4062204 kB
Dirty:            3132 kB
Writeback:           0 kB
AnonPages:      457476 kB
Mapped:          18112 kB
Slab:            79916 kB
PageTables:       7592 kB
NFS_Unstable:        0 kB
Bounce:              0 kB
CommitLimit:   6262424 kB
Committed_AS:  1481748 kB
VmallocTotal:   116728 kB
VmallocUsed:      5796 kB
VmallocChunk:   110800 kB
HugePages_Total:     0
HugePages_Free:      0
HugePages_Rsvd:      0
Hugepagesize:     2048 kB

- DISK 정보

# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda7             5.9G  450M  5.1G   8% /
/dev/sda10            239G   63G  164G  28% /home
/dev/sda9             2.0G   43M  1.8G   3% /tmp
/dev/sda3             9.7G  3.9G  5.3G  43% /log
/dev/sda2             9.7G  5.2G  4.1G  56% /db
/dev/sda1              99M   17M   77M  18% /boot
tmpfs                 2.0G     0  2.0G   0% /dev/shm
공유 X Facebook LINE QR 코드

댓글 0개

첫 댓글을 남겨보세요.