11.01.2013 Views

IBM AIX Continuous Availability Features - IBM Redbooks

IBM AIX Continuous Availability Features - IBM Redbooks

IBM AIX Continuous Availability Features - IBM Redbooks

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

► Asynchronously<br />

The following sequence of commands runs an asynchronous trace on the program<br />

myprog and ends the trace:<br />

trace -a -j30D,30E<br />

myprog<br />

trcstop<br />

► You can format the trace file with the following command:<br />

trcrpt -o output.file<br />

Additional details about these trace options are available in <strong>IBM</strong> <strong>AIX</strong> Version 6.1 Differences<br />

Guide, SC27-7559.<br />

POSIX trace<br />

<strong>AIX</strong> Version 6 implements the POSIX trace system, which supports tracing of user<br />

applications via a standardized set of interfaces. The POSIX tracing facilities allow a process<br />

to select a set of trace event types, activate a trace stream of the selected trace events as<br />

they occur in the flow of execution, and retrieve the recorded trace events. Like system trace,<br />

POSIX trace is also dependent upon precompiled-in trace hooks in the application being<br />

instrumented.<br />

Additional details about these trace options are available in <strong>IBM</strong> <strong>AIX</strong> Version 6.1 Differences<br />

Guide, SC27-7559.<br />

Iptrace<br />

The iptrace daemon provides interface-level packet tracing for Internet protocols. This<br />

daemon records Internet packets received from configured interfaces. Command flags<br />

provide a filter so that the daemon traces only packets that meet specific criteria. Packets are<br />

traced only between the local host on which the iptrace daemon is invoked and the remote<br />

host.<br />

If the iptrace process was started from a command line without the System Resource<br />

Controller (SRC), it must be stopped with the kill -15 command. The kernel extension<br />

loaded by the iptrace daemon remains active in memory if iptrace is stopped any other way.<br />

The LogFile parameter specifies the name of a file to which the results of the iptrace<br />

command are sent. To format this file, run the ipreport command.<br />

The ipreport command may display the message TRACING DROPPED xxxx PACKETS. This<br />

count of dropped packets indicates only the number of packets that the iptrace command<br />

was unable to grab because of a large packet whose size exceeded the socket-receive buffer<br />

size. The message does not mean that the packets are being dropped by the system.<br />

2.3.9 Component Trace facility<br />

The Component Trace (CT) facility allows the capture of information about a specific kernel<br />

component, kernel extension, or device driver. Component Trace is an important FFDC and<br />

SFDC tool available to the kernel, kernel extensions, and device drivers. The CT facility<br />

allows a component to capture trace events to aid in both debugging and system analysis,<br />

and provide focused trace data on larger server systems.<br />

CT provides system trace information for specific system components. This information<br />

allows service personnel to access component state information through either in-memory<br />

trace buffers or through traditional <strong>AIX</strong> system trace. Component Trace is enabled by default.<br />

Chapter 2. <strong>AIX</strong> continuous availability features 29

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

Saved successfully!

Ooh no, something went wrong!