9.3.6 How to collect data
An information collection tool (the Extraction tool) is provided. The Extraction tool simplifies the collection procedure.
- Organization of this subsection
(1) Collecting
The Extraction tool stores data in a specified directory.
- This tool collects the following information:
-
-
Product information
-
Transmission information definition file
-
Information described in 9.3.2 Information about JP1/FTP
-
- 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 collected data, 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) Notes
-
The tool must be executed by the superuser.
-
To customize the Extraction tool, copy the tool to a directory of your choice before customizing it.