查看系统信息
1.查看系统信息
[root@ljy ~]# cat /etc/os-release
NAME="openEuler"
VERSION="20.03 (LTS)"
ID="openEuler"
VERSION_ID="20.03"
PRETTY_NAME="openEuler 20.03 (LTS)"
ANSI_COLOR="0;31"
2.查看cpu信息
[root@ljy ~]# lscpu
架构: x86_64
CPU 运行模式: 32-bit, 64-bit
字节序: Little Endian
Address sizes: 45 bits physical, 48 bits virtual
CPU: 4
在线 CPU 列表: 0-3
每个核的线程数: 1
每个座的核数: 2
座: 2
NUMA 节点: 1
厂商 ID: GenuineIntel
CPU 系列: 6
型号: 151
型号名称: 12th Gen Intel(R) Core(TM) i5-12400
步进: 5
CPU MHz: 2495.998
BogoMIPS: 4991.99
超管理器厂商: VMware
虚拟化类型: 完全
L1d 缓存: 192 KiB
L1i 缓存: 128 KiB
L2 缓存: 5 MiB
L3 缓存: 36 MiB
NUMA 节点0 CPU: 0-3
Vulnerability Itlb multihit: KVM: Vulnerable
Vulnerability L1tf: Not affected
Vulnerability Mds: Not affected
Vulnerability Meltdown: Not affected
Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp
Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2: Mitigation; Enhanced IBRS, IBPB conditional, RSB filling
Vulnerability Tsx async abort: Not affected
标记: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mm
x fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon rep_g
ood nopl xtopology tsc_reliable nonstop_tsc cpuid pni pclmulqdq ssse3 fma cx16 pci
d sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand h
ypervisor lahf_lm abm 3dnowprefetch invpcid_single ssbd ibrs ibpb stibp ibrs_enhan
ced fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap clflushop
t clwb sha_ni xsaveopt xsavec xgetbv1 xsaves arat umip pku ospke gfni vaes vpclmul
qdq rdpid md_clear flush_l1d arch_capabilities
3.内存信息
[root@ljy ~]# free
total used free shared buff/cache available
Mem: 11874620 937288 9136284 151680 1801048 10245016
Swap: 3145724 0 3145724
4.磁盘信息
[root@ljy ~]# fdisk -l
Disk /dev/sda:30 GiB,32212254720 字节,62914560 个扇区
磁盘型号:VMware Virtual S
单元:扇区 / 1 * 512 = 512 字节
扇区大小(逻辑/物理):512 字节 / 512 字节
I/O 大小(最小/最佳):512 字节 / 512 字节
磁盘标签类型:dos
磁盘标识符:0xb23b58e5
设备 启动 起点 末尾 扇区 大小 Id 类型
/dev/sda1 * 2048 2099199 2097152 1G 83 Linux
/dev/sda2 2099200 62914559 60815360 29G 8e Linux LVM
Disk /dev/sdb:10 GiB,10737418240 字节,20971520 个扇区
磁盘型号:VMware Virtual S
单元:扇区 / 1 * 512 = 512 字节
扇区大小(逻辑/物理):512 字节 / 512 字节
I/O 大小(最小/最佳):512 字节 / 512 字节
磁盘标签类型:dos
磁盘标识符:0xe7921374
设备 启动 起点 末尾 扇区 大小 Id 类型
/dev/sdb2 4196352 20971519 16775168 8G 5 扩展
/dev/sdb5 4198400 10489855 6291456 3G 8e Linux LVM
Disk /dev/sdc:10 GiB,10737418240 字节,20971520 个扇区
磁盘型号:VMware Virtual S
单元:扇区 / 1 * 512 = 512 字节
扇区大小(逻辑/物理):512 字节 / 512 字节
I/O 大小(最小/最佳):512 字节 / 512 字节
磁盘标签类型:gpt
磁盘标识符:E97D37A1-E054-494A-88DD-107CAA73AC08
设备 起点 末尾 扇区 大小 类型
/dev/sdc1 3907584 9764863 5857280 2.8G Linux 文件系统
Disk /dev/mapper/openeuler_bogon-root:25.102 GiB,27913093120 字节,54517760 个扇区
单元:扇区 / 1 * 512 = 512 字节
扇区大小(逻辑/物理):512 字节 / 512 字节
I/O 大小(最小/最佳):512 字节 / 512 字节
Disk /dev/mapper/openeuler_bogon-swap:3 GiB,3221225472 字节,6291456 个扇区
单元:扇区 / 1 * 512 = 512 字节
扇区大小(逻辑/物理):512 字节 / 512 字节
I/O 大小(最小/最佳):512 字节 / 512 字节
Disk /dev/mapper/tesvg-testlv:2 GiB,2147483648 字节,4194304 个扇区
单元:扇区 / 1 * 512 = 512 字节
扇区大小(逻辑/物理):512 字节 / 512 字节
I/O 大小(最小/最佳):512 字节 / 512 字节
5.系统资源实时信息
[root@ljy ~]# top
top - 19:10:31 up 2:14, 3 users, load average: 0.06, 0.03, 0.04
Tasks: 170 total, 1 running, 167 sleeping, 2 stopped, 0 zombie
%Cpu(s): 0.7 us, 1.6 sy, 0.0 ni, 97.5 id, 0.1 wa, 0.1 hi, 0.1 si, 0.0 st
MiB Mem : 11596.3 total, 8921.3 free, 915.3 used, 1759.7 buff/cache
MiB Swap: 3072.0 total, 3072.0 free, 0.0 used. 10004.9 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
134605 omm 20 0 6055488 821180 255108 S 1.3 6.9 0:53.28 gaussdb
9149 root 20 0 15420 5604 4004 S 0.3 0.0 0:30.04 sshd
1 root 20 0 171448 14492 9680 S 0.0 0.1 0:01.44 systemd
2 root 20 0 0 0 0 S 0.0 0.0 0:00.01 kthreadd
3 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 rcu_gp
4 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 rcu_par_gp
6 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 kworker/0:0H-kblockd
8 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 mm_percpu_wq
9 root 20 0 0 0 0 S 0.0 0.0 0:00.30 ksoftirqd/0
10 root 20 0 0 0 0 I 0.0 0.0 0:02.02 rcu_sched
11 root 20 0 0 0 0 I 0.0 0.0 0:00.00 rcu_bh
12 root rt 0 0 0 0 S 0.0 0.0 0:00.26 migration/0
13 root 20 0 0 0 0 S 0.0 0.0 0:00.00 cpuhp/0
14 root 20 0 0 0 0 S 0.0 0.0 0:00.00 cpuhp/1
15 root rt 0 0 0 0 S 0.0 0.0 0:00.24 migration/1
16 root 20 0 0 0 0 S 0.0 0.0 0:00.29 ksoftirqd/1
18 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 kworker/1:0H-kblockd
19 root 20 0 0 0 0 S 0.0 0.0 0:00.00 cpuhp/2
20 root rt 0 0 0 0 S 0.0 0.0 0:00.24 migration/2
21 root 20 0 0 0 0 S 0.0 0.0 0:00.30 ksoftirqd/2
23 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 kworker/2:0H-kblockd
24 root 20 0 0 0 0 S 0.0 0.0 0:00.00 cpuhp/3
25 root rt 0 0 0 0 S 0.0 0.0 0:00.25 migration/3
26 root 20 0 0 0 0 S 0.0 0.0 0:00.48 ksoftirqd/3
28 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 kworker/3:0H-kblockd