Deleting SFD trace files (FIN only)
To save space, periodically remove unneeded trace files from your
SFD instance directory:
- Trace files from the initialization phase of the SFD process
- These trace files are described in Initialization phase of the SFD process. As long as an LT is used, no housekeeping is required for these files. However, after an LT is no longer to be used, you can delete these files to save space.
- Trace files for internal SFD processing
- These trace files are described in Internal SFD processing. To save space:
- If your LT is logged out, you can remove all files. For example, to delete all trace files for
the LT XXXXUSNYA from the directory /var/ftm/swift/v324/run/fsm, issue the following commands:
rm -f /var/ftm/swift/v324/run/fsm/XXXXUSNYA/trc/SFD.*.cli rm -f /var/ftm/swift/v324/run/fsm/XXXXUSNYA/trc/SFD.*.srv - If your LT is logged in, you can remove all but the most recent set of files. For example, to
delete all trace files for the LT XXXXUSNYA that are more than 7 days old from the directory
/var/ftm/swift/v324/run/fsm, issue the following command:
find /var/ftm/swift/v324/run/fsm/XXXXUSNYA/trc -name “SFD.*” -type f -atime +7 -exec rm -rf {} \;
- If your LT is logged out, you can remove all files. For example, to delete all trace files for
the LT XXXXUSNYA from the directory /var/ftm/swift/v324/run/fsm, issue the following commands:
- Trace files for external SFD interface functions
- These trace files are described in External SFD interface functions. To save space:
- If your LT is logged out, you can remove all files. For example, to delete all trace files for
the LT XXXXUSNYA from the directory /var/ftm/swift/v324/run/trace/xfsm, issue the following commands:
rm -f /var/ftm/swift/v324/run/trace/xfsm/XXXXUSNYA/cli/*.trc rm -f /var/ftm/swift/v324/run/trace/xfsm/XXXXUSNYA/srv/*.trc - If your LT is logged in, you can remove all but the most recent set of files. For example, to
delete all trace files for the LT XXXXUSNYA that are more than 7 days old from the directory
/var/ftm/swift/v324/run/trace/xfsm, issue the following
commands:
find /var/ftm/swift/v324/run/trace/xfsm/XXXXUSNYA/cli -name “*.trc” -type f -atime +7 -exec rm -rf {} \; find /var/ftm/swift/v324/run/trace/xfsm/XXXXUSNYA/srv -name “*.trc” -type f -atime +7 -exec rm -rf {} \;
- If your LT is logged out, you can remove all files. For example, to delete all trace files for
the LT XXXXUSNYA from the directory /var/ftm/swift/v324/run/trace/xfsm, issue the following commands:
- Trace files for session layer (SL) PDUs
- These trace files are described in Session layer (SL) PDUs.
To save space:
- If your LT is logged out, you can remove all files. For example, to delete all trace files for
the LT XXXXUSNYA from the directory /var/ftm/swift/v324/run/fsm, issue the following command:
rm -f /var/ftm/swift/v324/run/fsm/XXXXUSNYA/trc/SFD.*.p* - If your LT is logged in, you can remove all but the most recent set of files. For example, to
delete all trace files for the LT XXXXUSNYA that are more than 7 days old from the directory
/var/ftm/swift/v324/run/fsm, issue the following command:
find /var/ftm/swift/v324/run/fsm/XXXXUSNYA/trc -name “SFD.*.p*” -type f -atime +7 -exec rm -rf {} \;
- If your LT is logged out, you can remove all files. For example, to delete all trace files for
the LT XXXXUSNYA from the directory /var/ftm/swift/v324/run/fsm, issue the following command: