9.3.6 How to collect data
You can use the Extraction tool to collect the information described in 9.3.2 Information about JP1/FTP. The Extraction tool simplifies the collection procedure.
- Organization of this subsection
(1) Collecting
The Extraction tool stores data in a specified directory.
- Tool name:
ftslogclct.sh
- Path:
/opt/jp1_fts/lib/script
- Example
-
Store the data in the /home/ftpuser/fts/collect directory:
# /opt/jp1_fts/lib/script/ftslogclct.sh /home/ftpuser/fts/collect
(2) Archiving
If you archive the directory that stores the data described in 9.3.2 Information about JP1/FTP, the data can be distributed easily. Use the tar command to archive a directory.
- Example
-
Archive the collected data in /home/ftpuser/fts/ftsclct.tar:
# cd /home/ftpuser/fts # tar cvfp ftsclct.tar ./collect
(3) Note
-
The tool must be executed by the superuser.