linux配置查看 - Tue, Mar 24, 2020
linux配置查看
- linux版本
uname -a
Linux okmx8mm 4.14.78-00006-g85345c0 #1 SMP PREEMPT Mon Nov 25 06:01:54 UTC 2019 aarch64 aarch64 aarch64 GNU/Linux
- 操作系统版本
head -n 1 /etc/issue
NXP i.MX Release Distro 4.14-sumo \n \l
- CPU信息
cat /proc/cpuinfo
processor : 0
BogoMIPS : 16.00
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4
processor : 1
BogoMIPS : 16.00
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4
processor : 2
BogoMIPS : 16.00
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4
processor : 3
BogoMIPS : 16.00
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4
- PCI设备
lspci -tv
-[0000:00]---00.0-[01-ff]----00.0 JMicron Technology Corp. Device 0585
- 内存使用
cat /proc/meminfo
emTotal: 2024248 kB
MemFree: 88892 kB
MemAvailable: 600888 kB
Buffers: 37668 kB
Cached: 513544 kB
SwapCached: 65720 kB
Active: 1177796 kB
Inactive: 437544 kB
Active(anon): 687908 kB
Inactive(anon): 354312 kB
Active(file): 489888 kB
Inactive(file): 83232 kB
Unevictable: 4 kB
Mlocked: 4 kB
SwapTotal: 8388604 kB
SwapFree: 7666940 kB
Dirty: 72 kB
Writeback: 0 kB
AnonPages: 1044704 kB
Mapped: 104444 kB
Shmem: 660 kB
Slab: 112044 kB
SReclaimable: 42604 kB
SUnreclaim: 69440 kB
KernelStack: 12896 kB
PageTables: 8824 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 9400728 kB
Committed_AS: 7842304 kB
VmallocTotal: 135290290112 kB
VmallocUsed: 0 kB
VmallocChunk: 0 kB
AnonHugePages: 466944 kB
ShmemHugePages: 0 kB
ShmemPmdMapped: 0 kB
CmaTotal: 655360 kB
CmaFree: 18168 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
HugePages_Surp: 0
Hugepagesize: 2048 kB