21.02.2013 Views

AIX 5L Problem Determination - IBM Redbooks

AIX 5L Problem Determination - IBM Redbooks

AIX 5L Problem Determination - IBM Redbooks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Commonly used sysdumpdev command flags are listed in Table 5-7.<br />

Table 5-7 Commonly used flags of the sysdumpdev command<br />

Flag Description<br />

-c Specifies that dumps will not be compressed. The -c flag applies to<br />

only <strong>AIX</strong> Version 4.3.2 and later versions.<br />

-C Specifies that all future dumps will be compressed before they are<br />

written to the dump device. The -C flag applies to only <strong>AIX</strong> Version<br />

4.3.2 and later versions.<br />

-d Directory Specifies the directory the dump is copied to at system boot. If the<br />

copy fails at boot time, the -d flag ignores the system dump.<br />

-D Directory Specifies the directory the dump is copied to at system boot. If the<br />

copy fails at boot time, using the -D flag allows you to copy the dump<br />

to an external media. When using the -d Directory or -D Directory<br />

flags, the following error conditions are detected:<br />

Directory does not exist.<br />

Directory is not in the local journaled file system.<br />

Directory is not in the rootvg volume group.<br />

-e Estimates the size of the dump (in bytes) for the current running<br />

system.<br />

-k Requires the key mode switch to be in the service position before a<br />

dump can be forced with the Reset button or the dump key<br />

sequences. This is the default setting.<br />

-K The Reset button or the dump key sequences will force a dump with<br />

the key in the normal position. On a machine without a key mode<br />

switch, a dump cannot be forced with the Reset button or the key<br />

switch without this value set.<br />

-l Lists the current value of the primary and secondary dump devices,<br />

copy directory, and forcecopy attribute.<br />

-L Displays statistical information about the most recent system dump.<br />

This includes date and time of last dump, number of bytes written,<br />

and completion status.<br />

The status value will correspond to the dump LED codes as follows:<br />

0 = 0c0 - Dump completed successfully<br />

-1 = 0c8 - No primary dump device<br />

-2 = 0c4 - Partial dump<br />

-3 = 0c5 - Dump failed to start<br />

-P Makes permanent the dump device specified by the -p or -s flags. The<br />

-P flag can only be used with the -p or -s flags.<br />

Chapter 5. System dumps 99

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!