aix 设备管理

设备的显示

lsdev命令

1显示定制设备信息

$lsdev -C
L2cache0   Available       L2 Cache
cd0        Available       Virtual SCSI Optical Served by VIO Server
en0        Available       Standard Ethernet Network Interface
ent0       Available       Virtual I/O Ethernet Adapter (l-lan)
et0        Defined         IEEE 802.3 Ethernet Network Interface
fslv00     Defined         Logical volume
hd1        Defined         Logical volume
hd2        Defined         Logical volume
hd3        Defined         Logical volume
hd4        Defined         Logical volume
hd5        Defined         Logical volume
hd6        Defined         Logical volume
hd8        Defined         Logical volume
hd10opt    Defined         Logical volume
hd11admin  Defined         Logical volume
hd9var     Defined         Logical volume
hdisk0     Available       Virtual SCSI Disk Drive
inet0      Available       Internet Network Extension
iocp0      Defined         I/O Completion Ports

 

2显示预定制设备的信息

lsdev -P

3dx            03000008        usbif        USB 3D mouse
PCM            ds4k-ui         fcp          DS3/4K PCM User Interface
PCM            ds4k-ui         friend       Active/Passive Disk Path Control Module
PCM            fcpother        friend       SCSI/FCP Disk Path Control Module
PCM            iscsiother      friend       SCSI/FCP Disk Path Control Module
PCM            otherapdisk     friend       Active/Passive Disk Path Control Module
PCM            sasother        friend       SCSI/FCP Disk Path Control Module
PCM            scsiscsd        friend       SCSI/FCP Disk Path Control Module
PCM            sisarray        friend       SCSI/FCP Disk Path Control Module
PCM            vscsi           friend       SCSI/FCP Disk Path Control Module
PCM            ds4k-ui         iscsi        DS3/4K PCM User Interface
PCM            ds4k-ui         sas          DS3/4K PCM User Interface
adapter        ethernet        IBM,lhea     Logical Host Ethernet Port (lp-hea)
adapter        AT97SC3201_r    chrp         N/A
adapter        IBM,HPS         chrp         Switch Network Interface Adapter
adapter        IBM,lhca        chrp         InfiniBand host channel adapter
adapter        IBM,lhea        chrp         Logical Host Ethernet Adapter (l-hea)
adapter        ethernet        ct3          10 Gigabit Ethernet Adapter (ct3)
adapter        baud4232        isa_sio      Ultimedia Integrated Audio
adapter        chrp_ecp        isa_sio      CHRP IEEE1284 (ECP) Parallel Port Adapter
adapter        isa_tablet      isa_sio      Tablet Adapter

 

3显示disk类型,-H表示加上标题

$lsdev  -Cc disk -H
name   status    location description

hdisk0 Available          Virtual SCSI Disk Drive

 

4指定显示的逻辑设备

$lsdev -l cd0
cd0 Available  Virtual SCSI Optical Served by VIO Server

 

5指定显示设备的状态  a 表示availabel, d 表示defined

$lsdev -S a
L2cache0   Available       L2 Cache
cd0        Available       Virtual SCSI Optical Served by VIO Server
en0        Available       Standard Ethernet Network Interface
ent0       Available       Virtual I/O Ethernet Adapter (l-lan)
hdisk0     Available       Virtual SCSI Disk Drive
inet0      Available       Internet Network Extension
iscsi0     Available       iSCSI Protocol Device
lo0        Available       Loopback Network Interface
lvdd       Available       LVM Device Driver
mem0       Available       Memory
proc0      Available 00-00 Processor
pty0       Available       Asynchronous Pseudo-Terminal
sys0       Available       System Object
sysplanar0 Available       System Planar
vio0       Available       Virtual I/O Bus
vsa0       Available       LPAR Virtual Serial Adapter
vscsi0     Available       Virtual SCSI Client Adapter
vty0       Available       Asynchronous Terminal

$lsdev -S d
et0       Defined  IEEE 802.3 Ethernet Network Interface
fslv00    Defined  Logical volume
hd1       Defined  Logical volume
hd2       Defined  Logical volume
hd3       Defined  Logical volume
hd4       Defined  Logical volume
hd5       Defined  Logical volume
hd6       Defined  Logical volume
hd8       Defined  Logical volume
hd10opt   Defined  Logical volume
hd11admin Defined  Logical volume
hd9var    Defined  Logical volume
iocp0     Defined  I/O Completion Ports
jfstest   Defined  Logical volume
js2test   Defined  Logical volume


本文转自 pk2008 51CTO博客,原文链接:http://blog.51cto.com/837244/1098576

上一篇:Redis缓存数据库服务器


下一篇:MIT推出新型RFID芯片,可防范网络攻击