linux配置查看

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

转载请注明来源,欢迎对文章中的引用来源进行考证,欢迎指出任何有错误或不够清晰的表达。可以在下面评论区评论,也可以邮件至 wind.kaisa@gmail.com

文章标题:linux配置查看

本文作者:kaisawind

发布时间:2020-03-24, 07:59:04

最后更新:2020-11-18, 15:55:44

原始链接:https://kaisawind.gitee.io/2020/03/23/2020-03-24-linux/

版权声明: "署名-非商用-相同方式共享 4.0" 转载请保留原文链接及作者。

目录
×

喜欢就点赞,疼爱就打赏