Syntax for the curt Command
Review the syntax, flags, and parameters for the curt command.
The syntax for the curt command is as follows:
curt -i inputfile [-o outputfile] [-n gensymsfile] [-m trcnmfile] [-a pidnamefile] [-f timestamp] [-l timestamp] [-r PURR][-ehpstP]
Flags
Item | Descriptor |
---|---|
-i inputfile | Specifies the input AIX® trace file to be analyzed. |
-o outputfile | Specifies an output file (default is stdout). |
-n gensymsfile | Specifies a names file produced by gensyms. |
-m trcnmfile | Specifies a names file produced by trcnm. |
-a pidnamefile | Specifies a PID-to-process name mapping file. |
-f timestamp | Starts processing trace at timestamp seconds. |
-l timestamp | Stops processing trace at timestamp seconds. |
-r PURR | Uses the PURR register to calculate CPU times. |
-e | Outputs elapsed time information for system calls. |
-h | Displays usage text (this information). |
-p | Outputs detailed process information. |
-s | Outputs information about errors returned by system calls. |
-t | Outputs detailed thread information. |
-P | Outputs detailed pthread information. |
Parameters
Item | Descriptor |
---|---|
gensymsfile | The names file as produced by the gensyms command. |
inputfile | The AIX trace file to be processed by the curt command. |
outputfile | The name of the output file created by the curt command. |
pidnamefile | If the trace process name table is not accurate, or if more descriptive names are desired, use the -a flag to specify a PID to process name mapping file. This is a file with lines consisting of a process ID (in decimal) followed by a space, then an ASCII string to use as the name for that process. |
timestamp | The time in seconds at which to start and stop the trace file processing. |
trcnmfile | The names file as produced by the trcnmcommand. |
PURR | The name of the register that is used to calculate CPU times. |