IBM AIX系统硬件配置信息 查看命令----lscfg

Commands Reference, Volume 3, i - m

lscfg Command

Purpose

Displays configuration, diagnostic, and vital

product data (VPD) information about the system.

Syntax

To Display Specific Data on all Systems

lscfg [ -v ] [ -p ] [ -s ] [ -l Name ]

Description

If you run the lscfg command without any flags, it

displays the name, location and description of each

device found in the current Customized VPD object

class that is a child device of the sys0 object. It

will not display any device that has been marked

missing in the Customized Device Object Class. The

list is sorted by parent, child, and device

location. Information on a specific device can be

displayed with the -l flag.

Use the lscfg command to display vital product data

(VPD) such as part numbers, serial numbers, and

engineering change levels from either the

Customized VPD object class or platform specific

areas. Not all devices contain VPD data.

VPD data that is preceded by ME signifies that the

VPD data was entered manually using a diagnostic

service aid. For some devices, the vital product

data is collected automatically from the devices

through methods and added to the Customized VPD

object class.

If you run the lscfg command with the -p flag, it

displays device information stored in the platform

specific data areas. When used with the -v flag,

VPD data stored for these devices is also

displayed. This information is obtained on a Common

Hardware Reference Platform (CHRP) system from the

open firmware device tree.

-l Name

Displays device information for the named

device.

-p

Displays the platform-specific device

information. This flag only applies to AIX

4.2.1 or later.

-v

Displays the VPD found in the Customized VPD

object class. Also, on AIX 4.2.1 or later,

displays platform specific VPD when used with

the -p flag.

-s

Displays the device description on a separate

line from the name and location.

Examples

1    To display the system configuration, enter:

lscfg

The system displays a message similar to the

following:

INSTALLED RESOURCE LIST

The following resources are installed on the

machine:

+/- = Added or deleted from Resource List.

*   = Diagnostic support not available.

+ indicates the resource has been added to the Diagnostic Resource List. The resource is

added to the Diagnostic Resource list by default when the diagnostic fileset is installed. A

resource must be in the Diagnostic Resource List before diagnostics tasks can be

performed on the resource.

- indicates the resource was deleted from the Diagnostic Resource List.

The resource can be added or deleted from the Resource List by running the diag

command, and using the Task Selection menu to select either Add Resource to Resource

List, or Delete Resource from Resource List.

Diagnostic support for a resource, indicated by the + character is not necessarily

inclusive of all diagnostic tasks. Some resources are only supported with a subset of

diagnostic task, and that subset might or might not include the Run Diagnostics Task.

Model Architecture: chrp

Model Implementation: Multiple Processor, PCI bus

+ sys0                             System Object

+ sysplanar0                       System Planar

+ mem0                             Memory

+ L2cache0                         L2 Cache

+ proc0            U1.1-P1-C1      Processor

* pci3             U0.2-P1         PCI Bus

+ scsi0            U0.1-P1/Z1      Wide/Ultra-2 SCSI I/O Controller

+ rmt0             U1.1-P1/Z1-A3   SCSI 4mm Tape Drive (12000 MB)

+ cd0              U1.1-P1/Z1-A5   SCSI Multimedia CD-ROM Drive (650 MB)

+ hdisk0           U1.1-P1/Z1-A9   16 Bit LVD SCSI Disk Drive (4500 MB)

+ fd0              U0.1-P1-D1      Diskette Drive

..

..

2    To display the system configuration with the

device description on a separate line, enter:

lscfg  -s

The system displays a message similar to the

following:

INSTALLED RESOURCE LIST

The following resources are installed on the

machine:

+/- = Added or deleted from Resource List.

*   = Diagnostic support not available.

Model Architecture: chrp

Model Implementation: Multiple Processor, PCI bus

+ indicates the resource has been added to the Diagnostic Resource List. The resource is

added to the Diagnostic Resource list by default when the diagnostic fileset is installed. A

resource must be in the Diagnostic Resource List before diagnostics tasks can be

performed on the resource.

- indicates the resource was deleted from the Diagnostic Resource List.

The resource can be added or deleted from the Resource List by running the diag

command, and using the Task Selection menu to select either Add Resource to Resource

List, or Delete Resource from Resource List.

Diagnostic support for a resource, indicated by the + character is not necessarily

inclusive of all diagnostic tasks. Some resources are only supported with a subset of

diagnostic task, and that subset might or might not include the Run Diagnostics Task.

+ sys0

System Object

+ sysplanar0

System Planar

+ mem0

Memory

+ L2cache0

L2 Cache

+ proc0            U5734.100.1234567-P1-C1

Processor

+ proc1            U5734.100.1234567-P1-C2

Processor

+hdisk0            U5734.100.1234567-P1-D9

16 Bit LVD SCSI Disk Drive (4500 MB)

+fd0               U5734.100.1234567-P1-D1

Diskette Drive

..

..

3    To display the name, location, and description

for devices specified by the logical name proc

without VPD, enter:

lscfg -lproc\*

The system displays information for all

devices with logical names beginning with

proc, as follows:

proc0            U1.1-P1-C1  Processor

proc1            U1.1-P1-C1  Processor

proc2            U1.1-P1-C1  Processor

proc3            U1.1-P1-C1  Processor

proc4            U1.1-P1-C2  Processor

proc5            U1.1-P1-C2  Processor

proc6            U1.1-P1-C2  Processor

proc7            U1.1-P1-C2  Processor

4    To display the VPD for a specific device

specified by the logical name ent0, enter:

lscfg  -v -l ent0

The system displays the following:

ent0             U0.1-P1-I2/E1   Gigabit Ethernet-SX PCI Adapter (14100401)

Network Address.............0004AC7C00C4

Displayable Message.........Gigabit Ethernet-SX PCI Adapter (14100401)

EC Level....................E77998

Part Number.................07L8916

FRU Number..................07L8918

Device Specific.(YL)........U0.1-P1-I2/E1

5    To display the VPD in the open firmware device

tree for the corresponding node to the ent0

device, enter:

lscfg -vp -lent0

The following is displayed:

ent0             U0.1-P1-I2/E1  Gigabit Ethernet-SX PCI Adapter (14100401)

Network Address.............0004AC7C00C4

Displayable Message.........Gigabit Ethernet-SX PCI Adapter (14100401)

EC Level....................E77998

Part Number.................07L8916

FRU Number..................07L8918

Device Specific.(YL)........U0.1-P1-I2/E1

PLATFORM SPECIFIC

Name:  ethernet

Model:  Galaxy, EtherLink 1000-SX-IBM

Node:  [email protected]

Device Type:  network

Physical Location: U0.1-P1-I2/E1

Files

/usr/sbin/lscfg

Contains the lscfg command.

Related Information

The lsattr command, lsconn command, lsdev command,

lsparent command.

来自为知笔记(Wiz)

时间: 2024-10-11 01:29:06

IBM AIX系统硬件配置信息 查看命令----lscfg的相关文章

(转)IBM AIX系统硬件信息查看命令(shell脚本)

IBM AIX系统硬件信息查看命令(shell脚本) 原文:http://blog.itpub.net/22085031/viewspace-1054015/ 查看IBM AIX系统的主机型号.序列号.CPU.内存.硬盘.网卡.网卡物理插槽位置信息.是否配置以太网通道.网卡链路状态.当前网络速率.HBA卡.HBA卡物理插槽位置信息.HBA卡WWN.HBA卡支持速率.HBA卡当前速率.VG.PV.LV信息.该主机当前由哪台HMC管理.配置了多少磁带机驱动器tape driver等信息,可以通过一段

C/C++通过WMI和系统API函数获取获取系统硬件配置信息

转载:http://www.cnblogs.com/renyuan/archive/2012/12/29/2838716.html 转载:http://blog.csdn.net/jhqin/article/details/5548656 转载:http://blog.csdn.net/dongdan_002/article/details/42460343 头文件WMIInfo.h 1 /*****************************************************

AIX系统中网卡的查看及配置命令

[导读]AIX系统中网卡的查看及配置命令 在AIX中,网卡是用ent开头来表示的,一个网卡在系统中实际上可以看到两个设备接口,en开头的是Ethernet II标准的,et开头的是IEEE 802.3标准的.以太网的帧有两种标准:Ethernet II(或者叫Standard Ethernet)和IEEE802.3,两者主要是标志帧的上层协议 AIX系统中网卡的查看及配置命令 在AIX中,网卡是用ent开头来表示的,一个网卡在系统中实际上可以看到两个设备接口,en开头的是Ethernet II标

查看Linux 硬件配置信息

如何查看Linux 硬件配置信息 LINUX查看硬件配置 常用命令整理如下: 查看主板的序列号: dmidecode | grep -i serial number 用硬件检测程序kuduz探测新硬件:service kudzu start ( or restart) 查看CPU信息:cat /proc/cpuinfo [dmesg | grep -i cpu][dmidecode -t processor] 查看内存信息:cat /proc/meminfo [free -m][vmstat]

[转帖]Linux 硬件和系统配置查看命令小结

https://blog.csdn.net/strongwangjiawei/article/details/8208825 转帖了不少 发现自己记住的还是不多.. Linux 硬件和系统配置查看命令小结 2012年11月21日 16:58:47 strongwangjiawei 阅读数:10550 LINUX查看硬件配置命令 系统 # uname  -a               # 查看内核/操作系统/CPU信息 # head -n 3  /etc/issue   # 查看操作系统版本 #

(转)IBM AIX系统为rootvg实现镜像

IBM AIX系统为rootvg实现镜像 AIX系统安装的时候,没有选择安装镜像,因此在系统安装完成后,出于安全方面的考虑,决定为rootvg创建镜像. 工具/原料 AIX rootvg lspv chdev extendvg bosboot bootlist bootinfo 方法/步骤 确定rootvg 没有镜像 # lsvg -l rootvg 由下图中pvs的值可以看出,rootvg没有镜像.因为lp=pp 查看AIX系统磁盘情况. # lspv 系统中包含有三块磁盘,hdisk0 隶属

11g RAC集群启动关闭、各种资源检查、配置信息查看汇总。

简要:一:集群的启动与关闭 1. rac集群的手动启动[[email protected] bin]# ./crsctl start cluster -all2. 查看rac集群的状态[[email protected] bin]# ./crsctl stat res -t3. rac集群的关闭[[email protected] bin]# ./crscrl stop cluster -all--------------------------------二:集群的各种资源状态的检查 1. 检

System.getProperty()获取系统的配置信息

原文地址:http://www.jsjtt.com/java/Javajichu/105.html 此处记录备用. 1. 通过System.getProperty()可以获取系统的配置信息,System.getProperty()的参数总结: java.version Java运行时环境版本 java.vendor Java运行时环境供应商 java.vendor.url  Java供应商的 URL java.home  Java安装目录 java.vm.specification.versio

查看Linux硬件配置信息

在网上找了N久,发现了一篇不错的文档,转载一下: 1.查看机器所有硬件信息: dmidecode |more dmesg |more 这2个命令出来的信息都非常多,所以建议后面使用"|more"便于查看 2.查看CPU信息 方法一:   Linux下CPU相关的参数保存在 /proc/cpuinfo 文件里   cat /proc/cpuinfo |more   方法二:   采用命令 dmesg | grep CPU 可以查看到相关CPU的启动信息   查看CPU的位数: getco