Home Technical Articles AIX AIX Useful Commands - Devices
AIX Useful Commands - Devices PDF Print E-mail
Written by gerryh   
mknod (device) c (major no) (minor no)        Creates a /dev/ device file.
mknod /dev/null1 c 2 3

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

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

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

cfgmgr                  Configures devices
cfgmgr -i /dev/cd0      Configure devices and install drivers from /dev/cd0
                       if required
cfgmgr -S               Run in serial, used with a larger number of disks
cfgmgr -l scsi0         Configure devices on adapter scsi0 only

diag                Run hardware diagnostic menu   

smitty diag             Run hardware diagnostic menu
( 7020-40P and 7248-43P machines cannot run diagnostics, use diagnostics in the SMS menus instead )

diag -d (device)        Run diagnostics against a device.

lsslot            Displays all hot swap slots
lsslot -c pci           Lists all pci hot swap slots
lsslot -c pci -a        Lists all available pci hot swap slots

drslot                          Reconfgiures PCI hot-plug slots
drslot -i -c pci -s U0.1-P1-I3        Display a slot, flashes the LED next to
                                     the slot so that it can be identified.

Power Management (PCI machines)

pmctrl -a            Displays the Power Management state

rmdev -l pmc0        Unconfigure Power Management
mkdev -l pmc0        Configure Power Management
Last Updated on Monday, 14 July 2008 17:24
 
SoluFlex

Login Form



Who's Online

We have 3 guests online

Statistics

Members : 149
Content : 37
Web Links : 6
Content View Hits : 38786