查看Linux服务器的配置信息-创新互联
一、目标
公司主营业务:网站建设、网站设计、移动网站开发等业务。帮助企业客户真正实现互联网宣传,提高企业的竞争能力。成都创新互联公司是一支青春激扬、勤奋敬业、活力青春激扬、勤奋敬业、活力澎湃、和谐高效的团队。公司秉承以“开放、自由、严谨、自律”为核心的企业文化,感谢他们对我们的高要求,感谢他们从不同领域给我们带来的挑战,让我们激情的团队有机会用头脑与智慧不断的给客户带来惊喜。成都创新互联公司推出岫岩免费做网站回馈大家。查看服务器的相关配置,例如服务器的品牌,CPU,内存,磁盘等等信息
二、环境
1.浪潮物理机
2.系统centos
三、相关查询
1. 查看操作系统的版本
命令:cat /etc/redhat-release
CentOS Linux release 7.3.1611 (Core)
2.查看系统内核
命令:uname –a
Linux xxx 3.10.0-514.el7.x86_64 #1 SMP Tue Nov 22 16:42:41 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
3.CPU信息
命令:lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 48
On-line CPU(s) list: 0-47
Thread(s) per core: 2
Core(s) per socket: 12
座: 2
NUMA 节点: 2
厂商 ID: GenuineIntel
CPU 系列: 6
型号: 79
型号名称: Intel(R) Xeon(R) CPU E5-2650 v4 @ 2.20GHz
步进: 1
CPU MHz: 1213.265
BogoMIPS: 4394.95
虚拟化: VT-x
L1d 缓存: 32K
L1i 缓存: 32K
L2 缓存: 256K
L3 缓存: 30720K
NUMA 节点0 CPU: 0-11,24-35
NUMA 节点1 CPU: 12-23,36-47
4.内存信息
(1)产看内存硬件信息
命令:dmidecode -t memory
Handle 0x005C, DMI type 17, 40 bytes
Memory Device
Array Handle: 0x005A
Error Information Handle: Not Provided
Total Width: 72 bits
Data Width: 72 bits
Size: 16384 MB
Form Factor: DIMM
Set: None
Locator: CHG_0
Bank Locator: A1_Node1_Channel2_Dimm0
Type: DDR4
Type Detail: Synchronous
Speed: 2133 MHz
Manufacturer: Micron
Serial Number: 10BCEB8F
Asset Tag: CHG_0_AssetTag
Part Number: 36ASF2G72PZ-2G1A2
Rank: 2
Configured Clock Speed: 2133 MHz
Minimum Voltage: 1.2 V
Maximum Voltage: 1.2 V
Configured Voltage: 1.2 V
5:lsblk查看磁盘和分区分布
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 557.8G 0 disk
├─sda1 8:1 0 488M 0 part /boot
└─sda2 8:2 0 557.3G 0 part
├─cl-root 253:0 0 541.3G 0 lvm /
└─cl-swap 253:1 0 16G 0 lvm [SWAP]
sdb 8:16 0 1.8T 0 disk /space1
sdc 8:32 0 1.8T 0 disk /space2
sdd 8:48 0 1.8T 0 disk /space3
sde 8:64 0 1.8T 0 disk /space4
loop0 7:0 0 7.7G 0 loop /dac
6.网卡信息
命令:ethtool eth0
Settings for eno1:
Supported ports: [ TP ]
Supported link modes:10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supported pause frame use: Symmetric
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Advertised pause frame use: Symmetric
Advertised auto-negotiation: Yes
Speed: 1000Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 1
Transceiver: internal
Auto-negotiation: on
MDI-X: on (auto)
Supports Wake-on: pumbg
Wake-on: g
Current message level: 0x00000007 (7)
drv probe link
Link detected: yes
7.BIOS信息
# dmidecode 3.0
Scanning /dev/mem for entry point.
SMBIOS 3.0 present.
Handle 0x0000, DMI type 0, 24 bytes
BIOS Information
Vendor: American Megatrends Inc.
Version: 4.1.12
Release Date: 10/20/2016
Address: 0xF0000
Runtime Size: 64 kB
ROM Size: 8192 kB
Characteristics:
PCI is supported
BIOS is upgradeable
BIOS shadowing is allowed
Boot from CD is supported
Selectable boot is supported
BIOS ROM is socketed
EDD is supported
5.25"/1.2 MB floppy services are supported (int 13h)
3.5"/720 kB floppy services are supported (int 13h)
3.5"/2.88 MB floppy services are supported (int 13h)
Print screen service is supported (int 5h)
Serial services are supported (int 14h)
Printer services are supported (int 17h)
ACPI is supported
USB legacy is supported
BIOS boot specification is supported
Targeted content distribution is supported
UEFI is supported
BIOS Revision: 5.6
Handle 0x007D, DMI type 13, 22 bytes
BIOS Language Information
Language Description Format: Long
Installable Languages: 1
en|US|iso8859-1
Currently Installed Language: en|US|iso8859-1
另外有需要云服务器可以了解下创新互联cdcxhl.cn,海内外云服务器15元起步,三天无理由+7*72小时售后在线,公司持有idc许可证,提供“云服务器、裸金属服务器、高防服务器、香港服务器、美国服务器、虚拟主机、免备案服务器”等云主机租用服务以及企业上云的综合解决方案,具有“安全稳定、简单易用、服务可用性高、性价比高”等特点与优势,专为企业上云打造定制,能够满足用户丰富、多元化的应用场景需求。
分享名称:查看Linux服务器的配置信息-创新互联
链接分享:http://azwzsj.com/article/diggsc.html