Chinaunix首页 | 论坛 | 博客
  • 博客访问: 504313
  • 博文数量: 65
  • 博客积分: 2925
  • 博客等级: 上尉
  • 技术积分: 1306
  • 用 户 组: 普通用户
  • 注册时间: 2009-07-01 10:56
个人简介

2013

文章分类

全部博文(65)

分类: 系统运维

2011-04-11 15:25:33

devices

IBM AIX usb 口是鼠标、键盘专用;并非用于存储usb
root@wjlcnaix:/tmp>ls -l /dev |grep hdisk10
brw-------    1 root     system       22,  1 Mar 20 2009  hdisk10
crw-------    1 root     system       22,  1 Mar 20 2009  rhdisk10

22 是内核中的编号,主设备号,驱动
1 是监控设备号 一个大类中的小类  

22 1 相同 表示是同一个设备

block device 有缓存,随即寻址
character(raw) 无缓存,顺序寻址

list all supported devices
predefined devices 预定义,能支持,并非已拥有设备

root@wjlcnaix:/tmp>lsdev -P -H |more
class          type            subclass     description

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       AIX SCSI/FCP Disk Path Control Module

root@wjlcnaix:/tmp>lsdev -Pc tape
tape 3490E    fcp   IBM 3490E Tape Drive (FCP)
tape 3570     fcp   IBM Magstar MP Tape Subsystem (FCP)
tape 3570L    fcp   IBM Magstar MP 3570 Library Tape Drive (FCP)
tape 3573     fcp   IBM 3573 Tape Medium Changer (FCP)
tape 3575     fcp   IBM Magstar MP 3575 Library Medium Changer (FCP)


-c specifies the class of device

list all defined devices
customized devices 拥有设备,或曾经拥有设备
root@wjlcnaix:/tmp>lsdev -C -H |more
name          status    location      description

L2cache0      Available               L2 Cache
aio0          Available               Asynchronous I/O (Legacy)
cd0           Available 09-08-00-5,0  16 Bit LVD SCSI DVD-RAM Drive
en1           Defined   0A-08         Standard Ethernet Network Interface


root@wjlcnaix:/tmp>lsattr -EH -l sys0
-E 有效属性值  sys0 内核设备
attribute       value              description                                       user_settable

SW_dist_intr    false              Enable SW distribution of interrupts              True
autorestart     true               Automatically REBOOT system after a crash         True

root@wjlcnaix:/tmp>lsattr -E -l sys0 -a realmem
realmem 64487424 Amount of usable physical memory in Kbytes False

修改属性值
chdev -l sys0 -a maxuproc=1024

root@wjlcnaix:/tmp>chdev -l sys0 -a maxuproc=2048
sys0 changed

device states
状态转换相关命令:cfgmgr 自配置设备、mkdev -l、rmdev -l、rmdev -dl


adding an ascii terminal
smit tty
add a tty


documenting hardware configuration command
root@wjlcnaix:/>lsdev -CH |more
name          status    location      description

L2cache0      Available               L2 Cache
aio0          Available               Asynchronous I/O (Legacy)
cd0           Available 09-08-00-5,0  16 Bit LVD SCSI DVD-RAM Drive
en1           Defined   0A-08         Standard Ethernet Network Interface
en2           Defined   0A-09         Standard Ethernet Network Interface

lscfg -v 验机命令
root@wjlcnaix:/>lscfg -v |more
INSTALLED RESOURCE LIST WITH VPD

The following resources are installed on your machine.



lsattr -El sys0
root@wjlcnaix:/>lsattr -El sys0 -H
attribute       value              description                                       user_settable

SW_dist_intr    false              Enable SW distribution of interrupts              True


getconf -a 查最大最小值等
root@wjlcnaix:/>getconf -a
AIO_LISTIO_MAX:                         4096
AIO_MAX:                                4096
AIO_PRIO_DELTA_MAX:                     20



root@wjlcnaix:/>getconf REAL_MEMORY
64487424
阅读(1819) | 评论(0) | 转发(0) |
0

上一篇:bootinfo command

下一篇:aix /etc/inittab info

给主人留下些什么吧!~~