Sunday, June 21, 2009

AIX - Dumps Space

AIX - Dumps Space
The system dump facility copies critical information to the dump device when a system crash occurs. This information is critical for determining the cause of the crash.

Sysdumpdev -l -- Shows where the system dump location is currently located.

Sysdumpdev -P -p/dev/hd9 -- Changes the primary dump device to hd9.

Sysdupmdev -e -- Estimates the size of the current dump.

Smitty dump -- Access dump configuration through Smit.

Monday, June 8, 2009

AIX - SMIT

smit:

A lot of the sys admin task in AIX can be done thru smit (or smitty for TUI version). It can accept a parameter to get to a specific menu section right away.


Here are some example:

smit mktcpip # configure network parameters
smit chfs # change file system, eg grow/extend it.
smit lsprt # list printers (don't list all, may need to go thru long menu)
smit installp # Add new software
smit update # add patches
smit update_all # automatic add patches to existing sw, no complain if patch is
not relevant


smitty fastpath:

Action Prefix Device Abbreviation
------ ------ ------ ------------
(add) mk (printer) prt
(change) ch (tty) tty
(list) ls (pty) pty
(remove) rm (disk) dsk
(cdrom) cdr
(diskette) dskt
(tape) tpe
(adapter) adp
lang

Keystrokes:
F3 or ESC, 3 Cancel, go back
F4 or ESC, 4 Provide list of items to choose from
F6 or ESC, 6 Show command that smit will actually run
F10 or ESC, 10 Exit smitty