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

What are the IBM AIX system hardware information view commands

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

Share

Shulou(Shulou.com)05/31 Report--

This article mainly introduces what the IBM AIX system hardware information view command has, which has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor take you to understand it.

Check model, serial number, CPU, memory, HMC

# uname-M

IBM,8204-E8A

# uname-u

IBM,0206*

Number of CPU

# lsdev-Cc processor

Proc0 Available 00-00 Processor

Proc2 Available 00-02 Processor

Proc4 Available 00-04 Processor

Proc6 Available 00-06 Processor

Proc8Available 00-08 Processor

Proc10 Available 00-10 Processor

Proc12 Available 00-12 Processor

Proc14 Available 00-14 Processor

CPU dominant frequency

# lsattr-El proc0

Frequency4204000000Processor SpeedFalse

Smt_enabled trueProcessor SMT enabled False

Smt_threads 2Processor SMT threads False

StateenableProcessor stateFalse

TypePowerPC_POWER6 Processor typeFalse

Whether CPU is 64-bit

# prtconf-c

CPU Type: 64-bit

# lsattr-El mem0

Ent_mem_capI/O memory entitlement in KbytesFalse

Goodsize63744 Amount of usable physical memory in Mbytes False

Mem_exp_factorMemory expansion factorFalse

Size63744 Total amount of physical memory in MbytesFalse

Var_mem_weightVariable memory capacity weightFalse

HMC management

# lsrsrc IBM.ManagementServer

Resource Persistent Attributes for IBM.ManagementServer

Resource 1:

Name= "123.123.123.9"

Hostname= "123.123.123.9"

ManagerType= "HMC"

LocalHostname= "123.123.234.132"

ClusterTM= 9078-160,

ClusterSNum= ""

ActivePeerDomain = ""

NodeNameList= {"testdb1"}

# lsattr-El sys0

Fwversion IBM,EL350_085 Firmware version and revision levels False

ModelnameIBM,8204-E8A Machine nameFalse

Realmem65273856Amount of usable physical memory in KbytesFalse

Systemid IBM,0206*Hardware system identifierFalse

# lspv

Hdisk000cb01e637be5983rootvgactive

Hdisk100cb01e6dd9045e6rootvgactive

[@ more@]

# lspath

Enabledhdisk0 sas0

Enabledhdisk1 sas0

Available ses0sas0

Available ses1sas0

# lsdev-Cc disk

Hdisk0 Available 02-08-00 SAS Disk Drive

Hdisk1 Available 02-08-00 SAS Disk Drive

# bootinfo-s hdisk0

140013

# lsattr-El hdisk0

Reserve_policyno_reserve Reserve PolicyTrue

Size_in_mb146800Size in MegabytesFalse

# lscfg-vpl hdisk0

Hdisk0U78A0.001.DNWK9W6-P2-D3SAS Disk Drive (146800 MB)

Hardware Location Code.U78A0.001.DNWK9W6-P2-D3

Bootinfo-s view disk capacity, execute lsattr-El to view disk properties, execute lscfg-vpl to view disk physical slots, lspv to view disk pv information, and so on.

Echo "# lsdev-Cc disk"

Lsdev-Cc disk

For i in `lsdev-Cc disk | awk'{print $1}'`

Do

Echo "nInformation about" $I "n#bootinfo-s" $I

Bootinfo-s $I

Echo "n#lsattr-El" $I

Lsattr-El $I

Echo "n#lscfg-vpl" $I

Lscfg-vpl $I

Echo "n#lspv" $I

Lspv $I

Done

# lsdev-Cc adapter | grep ent

Ent0AvailableLogical Host Ethernet Port (lp-hea)

Ent1AvailableLogical Host Ethernet Port (lp-hea)

Ent2 Available 04-00 2-Port 10 shock 100 Base-TX PCI-Express Adapter 1000 Base-TX PCI-Express Adapter (14104003)

Ent3Available 04-01 2-Port 10 Base-TX PCI-Express Adapter 100 Base-TX PCI-Express Adapter (14104003)

Ent4AvailableEtherChannel / IEEE 802.3ad Link Aggregation

The network card generated after the ent4 is bound through the Ethernet channel. Execute lsattr-El ent4 to see which network card is bound by the ent4, which is the master / slave mode, load balance mode or load balancer + active / slave mode.

# lsattr-El ent4

Adapter_namesent0EtherChannel Adapters True

Auto_recoveryyesEnable automatic recovery after failoverTrue

Backup_adapterent2 Adapter used when whole channel failsTrue

ModestandardEtherChannel mode of operation True

Netaddr0 Address to pingTrue

# lscfg-vpl ent2

Ent2 U78A0.001.DNWK58T-P1-C1-T12-Port 10ax 100max 1000 Base-TX PCI-Express Adapter (14104003)

Hardware Location Code.U78A0.001.DNWK58T-P1-C1-T1

# lsattr-El en4

Netaddr123.123.123.61 Internet AddressTrue

Netmask 255.255.255.128Subnet Mask True

Stateup Current Interface StatusTrue

# netstat-in

# netstat-rn

# ifconfig-a

# ifconfig-l

# netstat-v en4 | grep-I Speed

Media Speed Selected: Autonegotiate

Media Speed Running: 1000 Mbps / 1 Gbps, Full Duplex

External-Network-Switch (ENS) Port Speed: 1000 Mbps / 1 Gbps, Full Duplex

Media Speed Selected: Auto negotiation

Media Speed Running: 1000 Mbps Full Duplex

Echo "# lsdev-Cc adapter | grep ent"

Lsdev-Cc adapter | grep ent

For i in `print-Cc adapter | awk'{print $1}'| grep ent`

Do

Echo "nInformation about" $I "n#lsattr-El" $I

Lsattr-El $I

Echo "n#lscfg-vl" $I

Lscfg-vl $I

Done

For i in `ifconfig-l`

Do

Echo "nInformation about" $I "n#lsattr-El" $I

Lsattr-El $I

Echo "n#netstat-v" $I

Netstat-v $I

Echo "n#netstat-v" $I "| grep-I Speed"

Netstat-v $I | grep-I Speed

Done

HBA card information

# lsdev-Cc adapter | grep fcs

Fcs0Available 01-08 FC Adapter

Fcs1Available 01-09 FC Adapter

Fcs2Available 04-08 FC Adapter

Fcs3Available 04-09 FC Adapter

# lsattr-El fcs0

Physical slot of HBA card, WWN:

# lscfg-vpl fcs0

Fcs0U78A0.001.DNWK9W6-P1-C4-T1FC Adapter

Network Address.10000000C9B54A92

Hardware Location Code.U78A0.001.DNWK9W6-P1-C4-T1

Network Address is the WWN of fcs0.

When the number of HBA cards is unknown, the following script can be used to collect the physical slot and WWN information of all HBA cards at once, which is very often used in projects because the WWN of the HBA card needs to be collected for SAN switch configuration ZONE information, and the storage side also needs WWN for Mapping LUN:

Echo "# lsdev-Cc adapter | grep fcs"

Lsdev-Cc adapter | grep fcs

For i in `lsdev-Cc adapter | grep fcs | awk'{print $1}'`

Do

Echo "nInformation about" $I "n#lsattr-El" $I

Lsattr-El $I

Echo "n#lscfg-vpl" $I

Lscfg-vl $I

Echo "n#fcstat" $I

Fcstat $I

Done

Tape information

# lsdev-Cc tape

Rmt0 Available 02-08-00 SAS 4mm Tape Drive

# lsattr-El rmt0

# lscfg-vpl rmt0

Rmt0U78A0.001.DNWK9W6-P2-D1SAS 4mm Tape Drive (80000 MB)

Hardware Location Code.U78A0.001.DNWK9W6-P2-D1

If the number of tape driver is unknown, you can use the following script to collect all tape driver information at once:

Echo "# lsdev-Cc tape"

Lsdev-Cc tape

For i in `lsdev-Cc tape | awk'{print $1}'`

Do

Echo "nInformation about" $I "n#lsattr-El" $I

Lsattr-El $I

Echo "n#lscfg-vl" $I

Lscfg-vl $I

Done

VG, PV, LV information

VG

# lsvg

Rootvg

Vgora

VG of active

# lsvg-o

Vgora

Rootvg

# lsvg-p rootvg

Rootvg:

PV_NAME PV STATE TOTAL PPsFREE PPsFREE DISTRIBUTION

Hdisk0active558429 111..68..27..111..112

Hdisk1active558 437111..76..27..111..112

# lsvg-l rootvg

PV

# lspv

Hdisk000cb01e637be5983rootvgactive

Hdisk100cb01e6dd9045e6rootvgactive

# lspv-l hdisk0

When the number of VG is unknown, you can use the following script to collect all VG and LV information at once (can be combined with the above disk information)

Echo "# lsvg"

Lsvg

Echo "# lsvg-o"

Lsvg-o

For i in `lsvg`

Do

Echo "nInformation about VG" $I "n#lsvg" $I

Lsvg $I

Echo "n#lsvg-l" $I

Lsvg-l $I

Echo "n#lsvg-p" $I

Lsvg-p $I

Echo "n#lsvg-M" $I

Lsvg-M ${I}

Done

Thank you for reading this article carefully. I hope the article "what are the IBM AIX system hardware Information View commands" shared by the editor will be helpful to you. At the same time, I also hope you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!

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