리눅스 버전 확인
[root@vpms l]cat /etc/issue
Red Hat Enterprise Linux ES release 4 (Nahant Update 6)
Kernel \r on an \m
[root@vpms ]# cat /etc/redhat-release
Red Hat Enterprise Linux ES release 4 (Nahant Update 6)
[root@vpms ]#
[root@vpms l]cat /etc/issue
Red Hat Enterprise Linux ES release 4 (Nahant Update 6)
Kernel \r on an \m
[root@vpms ]# cat /etc/redhat-release
Red Hat Enterprise Linux ES release 4 (Nahant Update 6)
[root@vpms ]#
리눅스 커널 버전 확인
[root@vpms ]# cat /proc/version
Linux version 2.6.9-67.ELsmp (brewbuilder@ls20-bc1-14.build.redhat.com) (gcc version 3.4.6 20060404 (Red Hat 3.4.6-8)) #1 SMP Wed Nov 7 13:58:04 EST 2007
[root@vpms ]#
[root@vpms ]# uname -a
Linux vpms 2.6.9-67.ELsmp #1 SMP Wed Nov 7 13:58:04 EST 2007 i686 i686 i386 GNU/Linux
[root@vpms ]#
리눅스 cpuinfo
[root@vpms ]# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 6
model name : Intel(R) Pentium(R) 4 CPU 3.00GHz
stepping : 2
cpu MHz : 3002.031
cache size : 2048 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 1
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 6
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 lm constant_tsc pni monitor ds_cpl cid xtpr
bogomips : 6005.48
processor : 1
vendor_id : GenuineIntel
cpu family : 15
model : 6
model name : Intel(R) Pentium(R) 4 CPU 3.00GHz
stepping : 2
cpu MHz : 3002.031
cache size : 2048 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 1
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 6
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 lm constant_tsc pni monitor ds_cpl cid xtpr
bogomips : 5999.48
[root@vpms ]# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 6
model name : Intel(R) Pentium(R) 4 CPU 3.00GHz
stepping : 2
cpu MHz : 3002.031
cache size : 2048 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 1
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 6
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 lm constant_tsc pni monitor ds_cpl cid xtpr
bogomips : 6005.48
processor : 1
vendor_id : GenuineIntel
cpu family : 15
model : 6
model name : Intel(R) Pentium(R) 4 CPU 3.00GHz
stepping : 2
cpu MHz : 3002.031
cache size : 2048 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 1
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 6
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 lm constant_tsc pni monitor ds_cpl cid xtpr
bogomips : 5999.48
리눅스 meminfo
[root@vpms ]# cat /proc/meminfo
MemTotal: 2073808 kB
MemFree: 48476 kB
Buffers: 218768 kB
Cached: 1540392 kB
SwapCached: 0 kB
Active: 890268 kB
Inactive: 969832 kB
HighTotal: 1178496 kB
HighFree: 1856 kB
LowTotal: 895312 kB
LowFree: 46620 kB
SwapTotal: 2031608 kB
SwapFree: 2031608 kB
Dirty: 8 kB
Writeback: 0 kB
Mapped: 130368 kB
Slab: 148360 kB
CommitLimit: 3068512 kB
Committed_AS: 268016 kB
PageTables: 3568 kB
VmallocTotal: 106488 kB
VmallocUsed: 2796 kB
VmallocChunk: 103464 kB
HugePages_Total: 0
HugePages_Free: 0
Hugepagesize: 2048 kB
[root@vpms ]# cat /proc/meminfo
MemTotal: 2073808 kB
MemFree: 48476 kB
Buffers: 218768 kB
Cached: 1540392 kB
SwapCached: 0 kB
Active: 890268 kB
Inactive: 969832 kB
HighTotal: 1178496 kB
HighFree: 1856 kB
LowTotal: 895312 kB
LowFree: 46620 kB
SwapTotal: 2031608 kB
SwapFree: 2031608 kB
Dirty: 8 kB
Writeback: 0 kB
Mapped: 130368 kB
Slab: 148360 kB
CommitLimit: 3068512 kB
Committed_AS: 268016 kB
PageTables: 3568 kB
VmallocTotal: 106488 kB
VmallocUsed: 2796 kB
VmallocChunk: 103464 kB
HugePages_Total: 0
HugePages_Free: 0
Hugepagesize: 2048 kB
disk 용량 확인
[craft@hkvpms ~]$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 20G 11G 8.1G 56% /
/dev/sda6 20G 204M 19G 2% /root2
/dev/sda5 103G 4.9G 93G 5% /var