inxi
sudo inxi -Fz
$ sudo inxi -Fz
System: Kernel: 3.10.0-1062.18.1.el7.x86_64 x86_64 bits: 64 Console: tty 0 Distro: CentOS Linux release 7.8.2003 (Core)
Machine: Type: Server System: Dell product: PowerEdge R720 v: N/A serial: <filter>
Mobo: Dell model: 0X3D66 v: A06 serial: <filter> BIOS: Dell v: 2.2.2 date: 01/16/2014
CPU: Topology: 2x 8-Core model: Intel Xeon E5-2650 v2 bits: 64 type: MT MCP SMP L2 cache: 40.0 MiB
Speed: 1236 MHz min/max: 1200/3400 MHz Core speeds (MHz): 1: 1258 2: 1200 3: 1211 4: 1203 5: 1200 6: 1200 7: 1234
8: 1320 9: 1353 10: 2071 11: 2043 12: 1509 13: 1273 14: 1699 15: 1757 16: 1854 17: 3001 18: 2339 19: 2488 20: 1679
21: 1482 22: 2103 23: 3074 24: 1585 25: 1438 26: 1527 27: 1385 28: 1210 29: 1228 30: 1215 31: 1200 32: 1737
Graphics: Device-1: Matrox Systems G200eR2 driver: mgag200 v: kernel
Display: server: No display server data found. Headless machine? tty: 194x54
Message: Unable to show advanced data. Required tool glxinfo missing.
Audio: Message: No Device data found.
Network: Device-1: Intel 82599ES 10-Gigabit SFI/SFP+ Network driver: ixgbe
IF: em1 state: down mac: <filter>
Device-2: Intel 82599ES 10-Gigabit SFI/SFP+ Network driver: ixgbe
IF: em2 state: down mac: <filter>
Device-3: Intel I350 Gigabit Network driver: igb
IF: em3 state: down mac: <filter>
Device-4: Intel I350 Gigabit Network driver: igb
IF: em4 state: down mac: <filter>
Device-5: Intel Ethernet 10-Gigabit X540-AT2 driver: ixgbe
IF: p1p1 state: up speed: 10000 Mbps duplex: full mac: <filter>
Device-6: Intel Ethernet 10-Gigabit X540-AT2 driver: ixgbe
IF: p1p2 state: down mac: <filter>
Drives: Local Storage: total: 1.82 TiB used: 95.37 GiB (5.1%)
ID-1: /dev/sda vendor: Dell PowerEdge RAID Card model: PERC H710 size: 1.82 TiB
RAID: Hardware-1: Broadcom / LSI MegaRAID SAS 2208 [Thunderbolt] driver: megaraid_sas
Partition: ID-1: / size: 1.76 TiB used: 94.26 GiB (5.2%) fs: xfs dev: /dev/dm-0
ID-2: /boot size: 1014.0 MiB used: 214.9 MiB (21.2%) fs: xfs dev: /dev/sda1
ID-3: /home size: 31.98 GiB used: 813.6 MiB (2.5%) fs: xfs dev: /dev/dm-2
Swap: ID-1: swap-1 type: partition size: 31.44 GiB used: 106.8 MiB (0.3%) dev: /dev/dm-1
Sensors: System Temperatures: ipmi cpu: N/A mobo: N/A
Fan Speeds (RPM): ipmi cpu: 3960 fan-2: 4080 fan-3: 3960 fan-4: 3960 fan-5: 3960 fan-6: 3960
System Temperatures: lm-sensors cpu: 21.0 C mobo: N/A
Fan Speeds (RPM): lm-sensors N/A
Info: Processes: 426 Uptime: 55d 23h 53m Memory: 62.71 GiB used: 12.74 GiB (20.3%) Init: systemd runlevel: 3 Shell: zsh
inxi: 3.1.03
OS 확인
리눅스 커널버전 확인
$ uname -a Linux ps-seoul-snu 3.10.0-957.5.1.el7.x86_64 #1 SMP Fri Feb 1 14:54:57 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
OS 배포판 버전 확인 (CentOS의 경우)
$ cat /etc/centos-release CentOS Linux release 7.6.1810 (Core)
응용SW 확인
perfSONAR 의 경우
$ yum list installed | grep libperfsonar libperfsonar-esmond-perl.noarch 4.1.6-1.el7 @anaconda ...
모델명 확인
$ sudo cat /sys/class/dmi/id/product_name PowerEdge R720xd
UUID 확인
메인보드 바이오스 DMI 정보 확인
$ sudo cat /sys/class/dmi/id/product_uuid 4C4C4544-0034-4710-8030-XXXXXXXXXXXX
CPU 정보 확인
CPU 정보 확인 명령어
$ cat /proc/cpuinfo
개괄적인 CPU 정보
$ cat /proc/cpuinfo ... model name : Intel(R) Xeon(R) CPU E5-2680 v2 @ 2.80GHz
물리 코어 수
$ cat /proc/cpuinfo ... cpu cores : 10
논리 프로세서 수 (하이퍼쓰레딩)
$ cat /proc/cpuinfo | grep processor | wc -l 40
메모리 정보 확인
메모리 정보 확인 명령어
$ sudo dmidecode -t memory
메모리 제조사 확인
$ sudo dmidecode -t memory | grep Manufacturer
Manufacturer: Samsung
...
메모리 총 용량 확인
예) 64GB
$ free -h
total used free shared buff/cache available
Mem: 62G 11G 730M 3.3G 50G 47G
Swap: 31G 31M 31G
메모리 타입, 클럭, 랭크 확인
$ sudo dmidecode -t 17
...
Type: DDR3
Configured Clock Speed: 1600 MHz
Rank: 2
메모리 꼽혀있는 상태 확인
예) 16GB 메모리가 총 4개 꼽혀 있는 것을 확인
$ sudo dmidecode -t 17
Memory Device
Size: 16384 MB
Locator: DIMM_A1
Memory Device
Size: 16384 MB
Locator: DIMM_A2
Memory Device
Size: No Module Installed
Locator: DIMM_A3
...
Memory Device
Size: 16384 MB
Locator: DIMM_B1
Memory Device
Size: 16384 MB
Locator: DIMM_B2
Memory Device
Size: No Module Installed
Locator: DIMM_B3
...
디스크 정보 확인
파티션 구성 확인
$ sudo lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 238.5G 0 disk ├─sda1 8:1 0 1G 0 part /boot └─sda2 8:2 0 237.5G 0 part ├─centos-root 253:0 0 205.9G 0 lvm / ├─centos-swap 253:1 0 15.6G 0 lvm [SWAP] └─centos-home 253:2 0 16G 0 lvm /home
디스크 정보 확인
$ sudo smartctl -i /dev/sda ... === START OF INFORMATION SECTION === Device Model: Samsung SSD 860 PRO 256GB ... User Capacity: 256,060,514,304 bytes [256 GB] ...
네트워크 정보 확인
모든 네트워크 인터페이스 확인
$ sudo lshw -c network -businfo Bus info Device Class Description ======================================================= pci@0000:02:00.0 em3 network NetXtreme BCM5720 Gigabit Ethernet PCIe pci@0000:02:00.1 em4 network NetXtreme BCM5720 Gigabit Ethernet PCIe pci@0000:01:00.0 em1 network NetXtreme BCM5720 Gigabit Ethernet PCIe pci@0000:01:00.1 em2 network NetXtreme BCM5720 Gigabit Ethernet PCIe pci@0000:04:00.0 p5p1 network NetXtreme BCM5720 Gigabit Ethernet PCIe pci@0000:04:00.1 p5p2 network NetXtreme BCM5720 Gigabit Ethernet PCIe pci@0000:42:00.0 p4p1 network 82599ES 10-Gigabit SFI/SFP+ Network Connection pci@0000:42:00.1 p4p2 network 82599ES 10-Gigabit SFI/SFP+ Network Connection
IP 정보 확인
$ ip addr
...
8: p4p1: ...
inet 203.XXX.156.YYY/24 brd 203.XXX.156.255 scope global p4p1
속도 확인
예) 스위치와 NIC이 광케이블로 10Gbps (10000Mbps) 속도로 연결되어 있음
$ ethtool p4p1
Settings for p4p1:
Supported ports: [ FIBRE ]
...
Speed: 10000Mb/s
Duplex: Full
Port: FIBRE
...
Link detected: yes