Linux 版本查詢
CENT OS / Redhat
[user@box ~]$ cat /etc/redhat-release
CentOS release 5.5 (Final)
[user@box ~]$ lsb_release -a
LSB Version: :core-3.1-ia32:core-3.1-noarch:graphics-3.1-ia32:graphics-3.1-noarch
Distributor ID: CentOS
Description: CentOS release 5.5 (Final)
Release: 5.5
Codename: Final
[user@box ~]$ cat /etc/issue
CentOS release 5.5 (Final)
Kernel \r on an \m
CPU 資訊
[user@box ~]$ cat /proc/cpuinfo
processor : 0
model name : ARMv7 Processor rev 4 (v7l)
BogoMIPS : 38.40
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4
processor : 1
model name : ARMv7 Processor rev 4 (v7l)
BogoMIPS : 38.40
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4
:: ::
作業系統核心版本訊息
[user@box ~]$ cat /proc/version (或打 uname -a )
Linux version 2.6.18-194.el5 ([email protected]) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-48)) #1 SMP Fri Apr 2 14: 58:35 EDT 2010
記憶體訊息
[user@box ~]$ cat /proc/meminfo
MemTotal: 1000184 kB
MemFree: 154644 kB
MemAvailable: 373176 kB
Buffers: 82936 kB
Cached: 162468 kB
SwapCached: 0 kB
Active: 675184 kB
Inactive: 82856 kB
Active(anon): 515276 kB
Inactive(anon): 18784 kB
Active(file): 159908 kB
Inactive(file): 64072 kB
:: ::
:: ::
相關文章