一、查看系统版本
cat /etc/.kyinfo 查看系统版本
[root@host-192-168-3-48 conf]# cat /etc/.kyinfo
[dist]
name=Kylin
milestone=Server-V10-SP3-General-Release-2303
arch=arm64
beta=False
time=2023-03-24 14:51:29
dist_id=Kylin-Server-V10-SP3-General-Release-2303-arm64-2023-03-24 14:51:29
[servicekey]
key=0239033
[os]
to=
term=2024-07-01
uname-r 查看内核版本
[root@host-192-168-3-48 conf]# uname -r
4.19.90-52.22.v2207.ky10.aarch64
nkvers 查看系统版本
[root@host-192-168-3-48 conf]# nkvers
############## Kylin Linux Version #################
Release:
Kylin Linux Advanced Server release V10 (Lance)
Kernel:
4.19.90-52.22.v2207.ky10.aarch64
Build:
Kylin Linux Advanced Server
release V10 (SP3) /(Lance)-aarch64-Build23/20230324
cat /etc/os-release 查看系统版本
[root@host-192-168-3-48 conf]# cat /etc/os-release
NAME="Kylin Linux Advanced Server"
VERSION="V10 (Lance)"
ID="kylin"
VERSION_ID="V10"
PRETTY_NAME="Kylin Linux Advanced Server V10 (Lance)"
ANSI_COLOR="0;31"
cat /etc/.productinfo 查看系统版本
[root@host-192-168-3-48 conf]# cat /etc/.productinfo
Kylin Linux Advanced Server
release V10 (SP3) /(Lance)-aarch64-Build23/20230324
二、查看硬件相关信息
1、查看CPU信息
# lscpu
# cat /proc/cpuinfo
架构:aarch64
CPU 运行模式:64-bit
CPU: 4
每个核的线程数:1
每个座的核数:4
座:1
NUMA 节点:1
型号:2
型号名称:FT-2000+/64
步进:0x1
BogoMIPS:100.00
NUMA 节点0 CPU:0-3
Vulnerability Itlb multihit: Not affected
Vulnerability L1tf: Not affected
Vulnerability Mds: Not affected
Vulnerability Meltdown: Not affected
Vulnerability Mmio stale data: Not affected
Vulnerability Spec store bypass: Not affected
Vulnerability Spectre v1: Mitigation; __user pointer sanitization
Vulnerability Spectre v2: Not affected
Vulnerability Srbds: Not affected
Vulnerability Tsx async abort: Not affected
[root@host-192-168-3-48 sqlbak]# cat /proc/cpuinfo
processor : 0
model name : ARMv8 CPU
BogoMIPS : 100.00
Features : fp asimd evtstrm crc32 cpuid
CPU implementer : 0x70
CPU architecture: 8
CPU variant : 0x1
CPU part : 0x662
CPU revision : 2
processor : 1
model name : ARMv8 CPU
BogoMIPS : 100.00
Features : fp asimd evtstrm crc32 cpuid
CPU implementer : 0x70
CPU architecture: 8
CPU variant : 0x1
CPU part : 0x662
CPU revision : 2
processor : 2
model name : ARMv8 CPU
BogoMIPS : 100.00
Features : fp asimd evtstrm crc32 cpuid
CPU implementer : 0x70
CPU architecture: 8
CPU variant : 0x1
CPU part : 0x662
CPU revision : 2
processor : 3
model name : ARMv8 CPU
BogoMIPS : 100.00
Features : fp asimd evtstrm crc32 cpuid
CPU implementer : 0x70
CPU architecture: 8
CPU variant : 0x1
CPU part : 0x662
CPU revision : 2
2、查看内存信息
#dmidecode -t memory
# cat /proc/meminfo
[root@host-192-168-3-48 sqlbak]# dmidecode -t memory
# dmidecode 3.2
Getting SMBIOS data from sysfs.
SMBIOS 3.0.0 present.
Handle 0x1000, DMI type 16, 23 bytes
Physical Memory Array
Location: Other
Use: System Memory
Error Correction Type: Multi-bit ECC
Maximum Capacity: 8 GB
Error Information Handle: Not Provided
Number Of Devices: 1
Handle 0x1100, DMI type 17, 40 bytes
Memory Device
Array Handle: 0x1000
Error Information Handle: Not Provided
Total Width: Unknown
Data Width: Unknown
Size: 8192 MB
Form Factor: DIMM
Set: None
Locator: DIMM 0
Bank Locator: Not Specified
Type: RAM
Type Detail: Other
Speed: Unknown
Manufacturer: QEMU
Serial Number: Not Specified
Asset Tag: Not Specified
Part Number: Not Specified
Rank: Unknown
Configured Memory Speed: Unknown
Minimum Voltage: Unknown
Maximum Voltage: Unknown
Configured Voltage: Unknown
[root@host-192-168-3-48 sqlbak]# cat /proc/meminfo
MemTotal: 6966528 kB
MemFree: 792128 kB
MemAvailable: 2610944 kB
Buffers: 5504 kB
Cached: 3064896 kB
SwapCached: 6336 kB
Active: 2461056 kB
Inactive: 3148288 kB
Active(anon): 1684032 kB
Inactive(anon): 1240768 kB
Active(file): 777024 kB
Inactive(file): 1907520 kB
Unevictable: 0 kB
Mlocked: 0 kB
SwapTotal: 4206528 kB
SwapFree: 4162112 kB
Dirty: 64 kB
Writeback: 0 kB
AnonPages: 2532672 kB
Mapped: 356224 kB
Shmem: 401728 kB
KReclaimable: 200576 kB
Slab: 435776 kB
SReclaimable: 200576 kB
SUnreclaim: 235200 kB
KernelStack: 8064 kB
PageTables: 26624 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 7689792 kB
Committed_AS: 6202432 kB
VmallocTotal: 133009637312 kB
VmallocUsed: 0 kB
VmallocChunk: 0 kB
Percpu: 5888 kB
HardwareCorrupted: 0 kB
AnonHugePages: 0 kB
ShmemHugePages: 0 kB
ShmemPmdMapped: 0 kB
CmaTotal: 0 kB
CmaFree: 0 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
HugePages_Surp: 0
Hugepagesize: 524288 kB
Hugetlb: 0 kB