Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

LInux to view server hardware information

2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Hello, Hi; it's double 12 today. Have you chopped your hands yet? What we bring to you today is "Linux View hardware Information on the Server." the examples of this article are all implemented on the server (Inspur SA5112M4). Some commands are not effective on the virtual machine to view the server model and serial number.

Root@zhangdaifu# dmidecode-s system-serial-number

Root@zhangdaifu# dmidecode-t system | grep-I 'serial number'

   Serial Number: 818123456

Root@zhangdaifu# dmidecode-t system | grep-I 'System information'-A9 | egrep-I' manufacturer | product | sial'

  Manufacturer: Inspur

  Product Name: SA5112M4

View motherboard model

Root@zhangdaifu# dmidecode | grep-I-A16 'System information$'

System Information

  Manufacturer: Inspur

  Product Name: SA5112M4

  Version: 01

  Serial Number: 818123456

  UUID: 7A61462A-D45E-11E8-8FB4-013865DCAE00

  Wake-up Type: Power Switch

  SKU Number: Default string

  Family: Default string

Handle 0x0002, DMI type 2, 15 bytes

Base Board Information

  Manufacturer: Inspur

  Product Name: YZMB-00370-102

  Version: SA5112M4

  Serial Number: MBJ824S20187B70

  Asset Tag: 818123456

View BIOS information

Root@zhangdaifu# dmidecode 3.0

Getting SMBIOS data from sysfs.

SMBIOS 3.0 present.

Handle 0x0000, DMI type 0, 24 bytes

BIOS Information

  Vendor: American Megatrends Inc.

  Version: 4.1.16

  Release Date: 06/21/2018

  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 0x006F, 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

View pci information, that is, all hardware slot information on the motherboard

Root@zhangdaifu# lspci | head-10

00v4/Xeon 00.0 Host bridge: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon D DMI2 (rev 01)

00v4/Xeon 01.0 PCI bridge: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon D PCI Express Root Port 1 (rev 01)

00v4/Xeon 01.1 PCI bridge: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon D PCI Express Root Port 1 (rev 01)

00v4/Xeon 02.0 PCI bridge: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon D PCI Express Root Port 2 (rev 01)

00v4/Xeon 02.2 PCI bridge: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon D PCI Express Root Port 2 (rev 01)

00v4/Xeon 03.0 PCI bridge: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon D PCI Express Root Port 3 (rev 01)

00v4/Xeon 03.2 PCI bridge: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon D PCI Express Root Port 3 (rev 01)

00v4/Xeon 04.0 System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon D Crystal Beach DMA Channel 0 (rev 01)

00v4/Xeon 04.1 System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon D Crystal Beach DMA Channel 1 (rev 01)

00v4/Xeon 04.2 System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon D Crystal Beach DMA Channel 2 (rev 01)

View cpu model

Root@zhangdaifu# grep name / proc/cpuinfo | cut-f2-d: | uniq-c

  56 Intel (R) Xeon (R) CPU E5-2680 v4 @ 2.40GHz

View the actual number of physical CPU in the system (physical)

Root@zhangdaifu# grep 'physical id' / proc/cpuinfo | sort | uniq | wc-l

two

Number of actual physical CPU in the system (number of cores)

Root@zhangdaifu# grep 'processor' / proc/cpuinfo | wc-l

fifty-six

Check the number of core (that is, cores) in each physical CPU

Root@zhangdaifu# grep "cores" / proc/cpuinfo | uniq

Cpu cores: 14

Check the main frequency of CPU

Root@zhangdaifu# grep-I MHz / proc/cpuinfo | uniq

Cpu MHz: 2899.781

Cpu MHz: 2900.156

Cpu MHz: 2899.593

Cpu MHz: 2899.687

Cpu MHz: 2900.156

Cpu MHz: 2899.968

Cpu MHz: 2900.156

Cpu MHz: 2899.875

Cpu MHz: 2899.968

Cpu MHz: 2899.781

Cpu MHz: 2899.968

Cpu MHz: 2899.781

Cpu MHz: 2899.968

Cpu MHz: 2899.781

Cpu MHz: 2899.875

Cpu MHz: 2899.968

Cpu MHz: 2899.875

Cpu MHz: 2899.781

Cpu MHz: 2901.281

Cpu MHz: 2900.062

Cpu MHz: 2899.968

Cpu MHz: 2898.187

Cpu MHz: 2901.187

Cpu MHz: 2900.156

Cpu MHz: 2899.781

Cpu MHz: 2899.687

Cpu MHz: 2899.968

Cpu MHz: 2899.687

Cpu MHz: 2899.968

Cpu MHz: 2900.156

Cpu MHz: 2899.968

Cpu MHz: 2900.250

Cpu MHz: 2899.968

Cpu MHz: 2899.875

Cpu MHz: 2899.968

Cpu MHz: 2899.875

Cpu MHz: 2899.218

Cpu MHz: 2899.687

Cpu MHz: 2900.812

Cpu MHz: 2899.687

Cpu MHz: 2899.875

Cpu MHz: 2899.968

Cpu MHz: 2899.218

Cpu MHz: 2900.812

Cpu MHz: 2899.968

Cpu MHz: 2899.593

Cpu MHz: 2899.781

View the details of CPU

Root@zhangdaifu# head-26 / proc/cpuinfo

Processor: 0

Vendor_id: GenuineIntel

Cpu family: 6

Model: 79

Model name: Intel (R) Xeon (R) CPU E5-2680 v4 @ 2.40GHz

Stepping: 1

Microcode: 0xb00002e

Cpu MHz: 2899.781

Cache size: 35840 KB

Physical id: 0

Siblings: 28

Core id: 0

Cpu cores: 14

Apicid: 0

Initial apicid: 0

Fpu: yes

Fpu_exception: yes

Cpuid level: 20

Wp: yes

Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 ds_cpl vmx smx est tm2 ssse3 fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch epb cat_l3 cdp_l3 intel_pt tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 Erms invpcid rtm cqm rdt_a rdseed adx smap xsaveopt cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts

Bogomips: 4788.94

Clflush size: 64

Cache_alignment: 64

Address sizes: 46 bits physical, 48 bits virtual

Power management:

AND

Root@zhangdaifu# lscpu

Architecture: x86_64

CPU op-mode (s): 32-bit, 64-bit

Byte Order: Little Endian

CPU (s): 56

On-line CPU (s) list: 0-55

Thread (s) per core: 2

Core (s) per socket: 14

Socket (s): 2

NUMA node (s): 2

Vendor ID: GenuineIntel

CPU family: 6

Model: 79

Model name: Intel (R) Xeon (R) CPU E5-2680 v4 @ 2.40GHz

Stepping: 1

CPU MHz: 2900.062

CPU max MHz: 3300.0000

CPU min MHz: 1200.0000

BogoMIPS: 4788.94

Virtualization: VT-x

L1d cache: 32K

L1i cache: 32K

L2 cache: 256K

L3 cache: 35840K

NUMA node0 CPU (s): 0-13, 28-41

NUMA node1 CPU (s): 14-27, 42-55

Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 ds_cpl vmx smx est tm2 ssse3 fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch epb cat_l3 cdp_l3 intel_pt tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 Erms invpcid rtm cqm rdt_a rdseed adx smap xsaveopt cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts

View cpu operation mode

Root@zhangdaifu# getconf LONG_BIT

sixty-four

Check whether cpu supports 64bit

Root@zhangdaifu# grep flags / proc/cpuinfo | grep'lm'| wc-l

Check the temperature of CPU

Root@zhangdaifu# sensors

View memory hardware information

Root@zhangdaifu# dmidecode-t memory | head-45 | tail-23

  Locator: CHA_0

  Bank Locator: A1_Node0_Channel0_Dimm0

  Type: DDR4

  Type Detail: Synchronous

  Speed: 2400 MHz

  Manufacturer: Samsung

  Serial Number: 391D9CB4

  AssetTag: CHA_0_AssetTag

  Part Number: M393A2K40BB1-CRC

  Rank: 1

  Configured Clock Speed: 2400 MHz

  Minimum Voltage: 1.2 V

  Maximum Voltage: 1.2 V

  Configured Voltage: 1.2 V

Handle 0x003A, DMI type 17, 40 bytes

Memory Device

  Array Handle: 0x0036

  Error Information Handle: Not Provided

  Total Width: Unknown

  Data Width: Unknown

  Size: No Module Installed

  Form Factor: Unknown

View used memory slots

Root@zhangdaifu# dmidecode-t memory | grep-I 'Locator' | grep-v-I' Bank' | grep-v-I 'no'

  Locator: CHA_0

  Locator: CHB_0

  Locator: CHC_0

  Locator: CHD_0

  Locator: CHE_0

  Locator: CHF_0

  Locator: CHG_0

  Locator: CHH_0

The maximum amount of memory supported

Root@zhangdaifu# dmidecode | grep-P 'Maximum\ s Capacitance'

  Maximum Capacity: 256 GB

  Maximum Capacity: 256 GB

  Maximum Capacity: 256 GB

  Maximum Capacity: 256 GB

Check the number of slots in memory and how many slots have been used. How big is each memory?

Root@zhangdaifu# dmidecode-t memory | grep-A5-I 'memory device' | grep Size | grep-iv range

   Size: 16384 MB

   Size: No Module Installed

   Size: 16384 MB

   Size: No Module Installed

   Size: 16384 MB

   Size: No Module Installed

   Size: 16384 MB

   Size: No Module Installed

   Size: 16384 MB

   Size: No Module Installed

   Size: 16384 MB

   Size: No Module Installed

   Size: 16384 MB

   Size: No Module Installed

   Size: 16384 MB

   Size: No Module Installed

Check the frequency of memory

Root@zhangdaifu# dmidecode | grep-A16-I "Memory Device" | grep-I 'Speed'

  Speed: 2400 MHz

  Speed: Unknown

  Speed: 2400 MHz

  Speed: Unknown

  Speed: 2400 MHz

  Speed: Unknown

  Speed: 2400 MHz

  Speed: Unknown

  Speed: 2400 MHz

  Speed: Unknown

  Speed: 2400 MHz

  Speed: Unknown

  Speed: 2400 MHz

  Speed: Unknown

  Speed: 2400 MHz

  Speed: Unknown

View the details of memory

Root@zhangdaifu# cat / proc/meminfo

MemTotal: 131716456 kB

MemFree: 128926560 kB

MemAvailable: 129823072 kB

Buffers: 139584 kB

Cached: 1060328 kB

SwapCached: 0 kB

Active: 299052 kB

Inactive: 967756 kB

Active (anon): 72860 kB

Inactive (anon): 11760 kB

Active (file): 226192 kB

Inactive (file): 955996 kB

Unevictable: 0 kB

Mlocked: 0 kB

SwapTotal: 0 kB

SwapFree: 0 kB

Dirty: 32 kB

Writeback: 0 kB

AnonPages: 67424 kB

Mapped: 30548 kB

Shmem: 17632 kB

Slab: 423604 kB

SReclaimable: 340432 kB

SUnreclaim: 83172 kB

KernelStack: 10160 kB

PageTables: 3836 kB

NFS_Unstable: 0 kB

Bounce: 0 kB

WritebackTmp: 0 kB

CommitLimit: 65858228 kB

Committed_AS: 1228180 kB

VmallocTotal: 34359738367 kB

VmallocUsed: 520712 kB

VmallocChunk: 34291843068 kB

HardwareCorrupted: 0 kB

AnonHugePages: 6144 kB

HugePages_Total: 0

HugePages_Free: 0

HugePages_Rsvd: 0

HugePages_Surp: 0

Hugepagesize: 2048 kB

DirectMap4k: 201200 kB

DirectMap2M: 5945344 kB

DirectMap1G: 130023424 kB

View memory usage information

Root@zhangdaifu# free-m

  total used free shared buff/cache available

Mem: 128629 1132 124977 17 2519 126784

Swap: 0 0 0

View hard disk and partition information

Root@zhangdaifu# lsblk

NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT

Sda 8:0 0 279.4G 0 disk

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

 ├─ sda2 8:2 0 48G 0 part /

 └─ sda3 8:3 0 231G 0 part / home

Sdb 8:16 0 1.8T 0 disk / mnt/disk1

AND

Root@zhangdaifu# fdisk-l

Disk / dev/sda: 300.0 GB, 300000000000 bytes, 585937500 sectors

Units = sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I size (minimum/optimal): 512 bytes / 512 bytes

Disk label type: dos

Disk identifier: 0xd8f7f38b

Device Boot Start End Blocks Id System

  / dev/sda1 * 2048 976895 487424 83 Linux

  / dev/sda2 976896 101562367 50292736 83 Linux

  / dev/sda3 101562368 585936895 242187264 83 Linux

Disk / dev/sdb: 2000.4 GB, 2000398934016 bytes, 3907029168 sectors

Units = sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I size (minimum/optimal): 512 bytes / 512 bytes

--

Root@zhangdaifu# fdisk-l | grep-I 'disk'

Disk / dev/sda: 300.0 GB, 300000000000 bytes, 585937500 sectors

Disk label type: dos

Disk identifier: 0xd8f7f38b

Disk / dev/sdb: 2000.4 GB, 2000398934016 bytes, 3907029168 sectors

Disk / dev/sdc: 4027 MB, 4027580416 bytes, 7866368 sectors

Disk label type: dos

Disk identifier: 0x26ae26ad

View mount partition status

Root@zhangdaifu# mount | column-t

Sysfs on / sys type sysfs (rw,nosuid,nodev,noexec,relatime)

Proc on / proc type proc (rw,nosuid,nodev,noexec,relatime)

Devtmpfs on / dev type devtmpfs (rw,nosuid,size=65833276k,nr_inodes=16458319,mode=755)

Securityfs on / sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)

Tmpfs on / dev/shm type tmpfs (rw,nosuid,nodev)

Devpts on / dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)

Tmpfs on / run type tmpfs (rw,nosuid,nodev,mode=755)

Tmpfs on / sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)

Cgroup on / sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd)

Pstore on / sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)

Cgroup on / sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)

Cgroup on / sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)

Cgroup on / sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)

Cgroup on / sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_prio,net_cls)

Cgroup on / sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpuacct,cpu)

Cgroup on / sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)

Cgroup on / sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)

Cgroup on / sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)

Cgroup on / sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)

Cgroup on / sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)

Configfs on / sys/kernel/config type configfs (rw,relatime)

/ dev/sda2 on / type ext4 (rw,noatime,nobarrier,data=ordered)

Systemd-1 on / proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=25,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=46109)

Debugfs on / sys/kernel/debug type debugfs (rw,relatime)

Mqueue on / dev/mqueue type mqueue (rw,relatime)

Hugetlbfs on / dev/hugepages type hugetlbfs (rw,relatime)

/ dev/sdb on / mnt/disk1 type xfs (rw,noatime,attr2,nobarrier,inode64,noquota)

/ dev/sda1 on / boot type ext4 (rw,noatime,nobarrier,data=ordered)

/ dev/sda3 on / home type ext4 (rw,noatime,nobarrier,data=ordered)

Binfmt_misc on / proc/sys/fs/binfmt_misc type binfmt_misc (rw,relatime)

Tmpfs on / run/user/1102 type tmpfs (rw,nosuid,nodev,relatime,size=13171648k,mode=700,uid=1102,gid=1102)

Tmpfs on / run/user/0 type tmpfs (rw,nosuid,nodev,relatime,size=13171648k,mode=700)

View hard disk usage

Root@zhangdaifu# df-hT

Filesystem Type Size Used Avail Use% Mounted on

/ dev/sda2 ext4 47G 2.5G 43G 6% /

Devtmpfs devtmpfs 63G 063G 0% / dev

Tmpfs tmpfs 63G 063G 0% / dev/shm

Tmpfs tmpfs 63G 18M 63G 1% / run

Tmpfs tmpfs 63G 063G 0% / sys/fs/cgroup

/ dev/sdb xfs 1.9T 21G 1.8T 2% / mnt/disk1

/ dev/sda1 ext4 453M 178M 249M 42% / boot

/ dev/sda3 ext4 227G 254M 215G 1% / home

Tmpfs tmpfs 13G 0 13G 0% / run/user/1102

Tmpfs tmpfs 13G 0 13G 0% / run/user/0

View Nic hardware information

Root@zhangdaifu# lspci | grep-I 'eth'

01Gigabit Network Connection 00.0 Ethernet controller: Intel Corporation I350 Gigabit Network Connection (rev 01)

01Gigabit Network Connection 00.1 Ethernet controller: Intel Corporation I350 Gigabit Network Connection (rev 01)

07Rom 00.0 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01)

07rev 00.1 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01)

View all network interfaces of the system

Root@zhangdaifu# ip a

1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1

  link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00

  inet 127.0.0.1/8 scope host lo

   valid_lft forever preferred_lft forever

  inet6:: 1/128 scope host

   valid_lft forever preferred_lft forever

2: eno1: mtu 1500 qdisc noop state DOWN qlen 1000

  link/ether 6c:92:bf:a4:42:66 brd ff:ff:ff:ff:ff:ff

3: eno2: mtu 1500 qdisc noop state DOWN qlen 1000

  link/ether 6c:92:bf:a4:42:67 brd ff:ff:ff:ff:ff:ff

4: eth01: mtu 1500 qdisc mq master bond0 state DOWN qlen 1000

  link/ether 6c:92:bf:68:3b:3c brd ff:ff:ff:ff:ff:ff

5: eth02: mtu 1500 qdisc mq master bond0 state DOWN qlen 1000

  link/ether 6c:92:bf:68:3b:3c brd ff:ff:ff:ff:ff:ff

6: bond0: mtu 1500 qdisc noqueue state DOWN qlen 1000

  link/ether 6c:92:bf:68:3b:3c brd ff:ff:ff:ff:ff:ff

  inet 10.58.62.43/24 brd 10.58.62.255 scope global bond0

   valid_lft forever preferred_lft forever

AND

Root@zhangdaifu# ifconfig-a

Bond0: flags=5123 mtu 1500

   inet 10.58.62.43 netmask 255.255.255.0 broadcast 10.58.62.255

   ether 6c:92:bf:68:3b:3c txqueuelen 1000 (Ethernet)

   RX packets 0 bytes 0 (0.0B)

   RX errors 0 dropped 0 overruns 0 frame 0

   TX packets 0 bytes 0 (0.0B)

   TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

Eno1: flags=4098 mtu 1500

   ether 6c:92:bf:a4:42:66 txqueuelen 1000 (Ethernet)

   RX packets 0 bytes 0 (0.0B)

   RX errors 0 dropped 0 overruns 0 frame 0

   TX packets 0 bytes 0 (0.0B)

   TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

   device memory 0xc7420000-c743ffff

Eno2: flags=4098 mtu 1500

   ether 6c:92:bf:a4:42:67 txqueuelen 1000 (Ethernet)

   RX packets 0 bytes 0 (0.0B)

   RX errors 0 dropped 0 overruns 0 frame 0

   TX packets 0 bytes 0 (0.0B)

   TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

   device memory 0xc7400000-c741ffff

Eth01: flags=6147 mtu 1500

   ether 6c:92:bf:68:3b:3c txqueuelen 1000 (Ethernet)

   RX packets 0 bytes 0 (0.0B)

   RX errors 0 dropped 0 overruns 0 frame 0

   TX packets 0 bytes 0 (0.0B)

   TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

Eth02: flags=6147 mtu 1500

   ether 6c:92:bf:68:3b:3c txqueuelen 1000 (Ethernet)

   RX packets 0 bytes 0 (0.0B)

   RX errors 0 dropped 0 overruns 0 frame 0

   TX packets 0 bytes 0 (0.0B)

   TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

Lo: flags=73 mtu 65536

   inet 127.0.0.1 netmask 255.0.0.0

   inet6:: 1 prefixlen 128 scopeid 0x10

   loop txqueuelen 1 (Local Loopback)

   RX packets 57834 bytes 5287121 (5.0 MiB)

   RX errors 0 dropped 0 overruns 0 frame 0

   TX packets 57834 bytes 5287121 (5.0 MiB)

   TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

View network configuration

Root@zhangdaifu# ipmitool lan print 1

Set in Progress: Set Complete

Auth Type Support: MD2 MD5 PASSWORD

Auth Type Enable: Callback: MD2 MD5 PASSWORD

 : User: MD2 MD5 PASSWORD

 : Operator: MD2 MD5 PASSWORD

 : Admin: MD2 MD5 PASSWORD

 : OEM:

IP Address Source: Static Address

IP Address: 10.59.62.43

Subnet Mask: 255.255.255.0

MAC Address: 6c:92:bf:a4:42:69

SNMP Community String: Inspur

IP Header: TTL=0x40 Flags=0x40 Precedence=0x00 TOS=0x10

BMC ARP Control: ARP Responses Enabled, Gratuitous ARP Disabled

Gratituous ARP Intrvl: 0.0 seconds

Default Gateway IP: 10.59.62.1

Default Gateway MAC: 00:00:00:00:00:00

Backup Gateway IP: 0.0.0.0

Backup Gateway MAC: 00:00:00:00:00:00

802.1q VLAN ID: Disabled

802.1q VLAN Priority: 0

RMCP+ Cipher Suites: 1,2,3,6,7,8,11,12

Cipher Suite Priv Max: aaaaXXaaaXXaaXX

 : X=Cipher Suite Unused

 : c=CALLBACK

 : u=USER

 : o=OPERATOR

 : a=ADMIN

 : O=OEM

Bad Password Threshold: 0

Invalid password disable: no

Attempt Count Reset Int.: 0

User Lockout Interval: 0

View the details of a network interface

Root@zhangdaifu# ethtool eth01

Settings for eth01:

  Supported ports: [FIBRE]

  Supported link modes: 10000baseT/Full

  Supported pause frame use: Symmetric

  Supports auto-negotiation: No

  Advertised link modes: 10000baseT/Full

  Advertised pause frame use: Symmetric

  Advertised auto-negotiation: No

  Speed: Unknown!

  Duplex: Unknown!

  Port: Other

  PHYAD: 0

  Transceiver: external

  Auto-negotiation: off

  Supports Wake-on: d

  Wake-on: d

  Current message level: 0x00000007 (7)

  drv probe link

  Link detected: no

Please indicate the source of the reprint, thank you!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report