| AIX Useful Commands - Devices |
|
|
|
| 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 |


