Manages the collection of trace files.
The gettrc command is a script that is used in conjunction with the snap command. It manages the collection of system trace files, lightweight memory trace (LMT) files, and component trace (CT) files.
| Flag | Description |
|---|---|
| -c | Collects component trace files. |
| -C dirname | Collects component trace files from the directory that are specified by dirname. |
| -m | Collects memory trace files. |
| -M dirname | Collects lightweight memory trace files from the directory that are specified by dirname |
| -s | Collects system trace files. |
| -S filename | Collects system trace files from the directory specified by filename |
| Item | Description |
|---|---|
| 0 | The command completed successfully. |
| >0 | An error occurred. |
snap "gettrc -c -C dirname -m -M dirname -s -S filename"
This
command returns system trace files, LMT files, and CT files, including those
files that are listed in the directory specified by dirname./usr/lib/ras/snapscripts/gettrc
/usr/lib/ras/cpufmt
/etc/trcfmt