设为首页 收藏本站
查看: 876|回复: 0

[经验分享] IBM AIX系统硬件配置信息 查看命令----lscfg

[复制链接]

尚未签到

发表于 2015-10-4 11:48:10 | 显示全部楼层 |阅读模式
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:  ethernet@1
                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)

运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-122536-1-1.html 上篇帖子: 深入Struts 1.1——【转自】IBM DW 下篇帖子: IBM 2145磁盘阵列 在Ubuntu Server中的配置
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表