Device management in AIX

TO lists all installed devices in AIX
lscfg
lscfg -v
lscfg -vl

TO Know last device the system booted from
bootinfo -b
bootinfo -k ----> keyswitch position
1=secure, 2=service, 3=normal

To know the amount of memory in 1024

bootinfo -r
bootinfo -s command to know the size of disk drive
bootinfo -T type of machine ie rspc

lsattr -El sys0 -a realmem ---- > comad to know the usable memory.

mknod c Creates a /dev/ device file.
mknod /dev/null1 c 2 3

To displays customized devices ie installed
lsdev -C displays customized devices ie installed

To pre-defined devices ie supported

lsdev -P
lsdev -(C or P) -c (class) -t (type) -s (subtype)

How to Change a device attribute
chdev -l (device) -a (attribute)=(new value)
chdev -l sys0 -a maxuproc=80

lsattr -EH -l (device) -D Lists the defaults in the pre-defined db
lsattr -EH -l sys0 -a modelname

TO change the device state from defined state to available state.
rmdev -l (device)
rmdev -l (device) -d Delete the device
rmdev -l (device) -SR S stops device, R unconfigures child devices


TO Displays bus resource attributes of a device.
lsresource -l (device)






Hit Counter by Digits

No comments:

Post a Comment

ADD this Info

Bookmark and Share