centos7.2下的硬件信息查询

前端之家收集整理的这篇文章主要介绍了centos7.2下的硬件信息查询前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

centos7.2下的硬件信息查询

1.关于cpu信息

# more /proc/cpuinfo //查看cpu信息信息

processor :0

vendor_id:GenuineIntel

cpu family :6

model:60

model name :Intel(R) Core(TM) i3-4170 cpu@ 3.70GHz

stepping :3

microcode :0x1d

cpuMHz :3691.510

cache size :3072KB

physical id :0

siblings :2

coreid:0

cpu cores :2

apicid:0

initial apicid : 0

fpu:yes

fpu_exception : yes

cpuid level :13

wp:yes

flags:fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov

pat pse36 clflush dts mmx fxsr sse sse2 ssht syscall nx pdpe1gbrdtscp lm const

ant_tsc arch_perfmon pebs bts noplxtopology tsc_reliablenonstop_tsc aperfmperf

eagerfpu pni pclmulqdq ssse3 fma cx16 pcidsse4_1 sse4_2x2apic movbe popcnt ts

--More--(0%)

# lscpu //cpu统计信息

Architecture:x86_64

cpuop-mode(s): 32-bit,64-bit

ByteOrder: LittleEndian

cpu(s):2

On-line cpu(s)list: 0,1

Thread(s) percore: 1

Core(s) persocket: 2

座:1

NUMA节点:1

厂商IDGenuineIntel

cpu系列:6

型号:60

型号名称Intel(R)Core(TM) i3-4170 cpu @ 3.70GHz

步进:3

cpu MHz3691.510

BogoMIPS7383.02

超管理器厂商: VMware

虚拟化类型:完全

L1d缓存:32K

L1i缓存:L2缓存:256K

L3缓存:3072K

NUMA节点0 cpu0,1

2.关于硬盘信息

# fdisk -l//查看硬盘及分区信息

磁盘 /dev/sda21.5 GB,21474836480 字节,41943040 个扇区

Units = 扇区 of 1 * 512 = 512bytes

扇区大小(逻辑/物理)512 字节 / 512 字节

I/O 大小(最小/最佳)512 字节 / 512 字节

磁盘标签类型:dos

磁盘标识符:0x00059018

设备 Boot Start End BlocksId System

/dev/sda1* 2048 1026047 51200083 Linux

/dev/sda2 1026048 4194303920458496 8e Linux LVM

磁盘 /dev/mapper/centos-root18.8 GB,18756927488字节,36634624 个扇区

Units = 扇区 of 1 * 512 = 512bytes

扇区大小(逻辑/物理)512 字节 / 512 字节

I/O 大小(最小/最佳)512 字节 / 512 字节

磁盘 /dev/mapper/centos-swap2147 MB,2147483648 字节,4194304 个扇区

Units = 扇区 of 1 * 512 = 512bytes

扇区大小(逻辑/物理)512 字节 / 512 字节

I/O 大小(最小/最佳)512 字节 / 512 字节

# lsblk //查看硬盘与分区信息

NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT

sda 8:0 020G 0 disk

├─sda1 8:1 0500M 0 part /boot

└─sda2 8:2 0 19.5G0 part

├─centos-root253:0 0 17.5G 0 lvm/

└─centos-swap253:1 0 2G 0lvm [SWAP]

sr0 11:0 1 1024M0 rom

3.关于内存信息

# cat /proc/meminfo //查看内存使用量和交换区使用量

MemTotal: 1868688 kB

MemFree: 144336 kB

MemAvailable: 899020 kB

Buffers: 3396 kB

Cached: 845552 kB

SwapCached: 0 kB

Active: 908516 kB

Inactive: 577488 kB

Active(anon): 596048 kB

Inactive(anon): 52052 kB

Active(file): 312468 kB

Inactive(file): 525436 kB

Unevictable: 0 kB

Mlocked: 0 kB

SwapTotal: 2097148 kB

SwapFree: 2097148 kB

Dirty: 4 kB

Writeback: 0 kB

AnonPages: 637104 kB

Mapped: 121392 kB

Shmem: 11044 kB

Slab: 118724 kB

SReclaimable: 58808 kB

SUnreclaim: 59916 kB

KernelStack: 11872 kB

PageTables: 27244 kB

NFS_Unstable: 0 kB

Bounce: 0 kB

WritebackTmp: 0 kB

CommitLimit: 3031492 kB

Committed_AS: 2696600 kB

VmallocTotal: 34359738367 kB

VmallocUsed: 172320 kB

VmallocChunk: 34359561396 kB

HardwareCorrupted: 0 kB

AnonHugePages: 344064 kB

HugePages_Total: 0

HugePages_Free: 0

HugePages_Rsvd: 0

HugePages_Surp: 0

Hugepagesize: 2048 kB

DirectMap4k: 102272 kB

DirectMap2M: 1994752 kB

DirectMap1G: 0 kB

#free �Cm //查看统计内存信息

total used free sharedbuff/cache available

Mem: 1824 739 140 10 944 877

Swap: 2047 0 2047

原文链接:https://www.f2er.com/centos/375288.html

猜你在找的CentOS相关文章