Skip to main content

servicelog command

This command is used to generate a new service data file.

Note
This command used to be ffdc command.

Use the servicelog command to generate and transfer service data to Support.

The following list consist of commands to be used with the servicelog command:

The following table shows the arguments for the options.

Syntax:
servicelog [subset_command] [-options]
Table 1. servicelog subset commands
OptionDescription
generateCreate a new service data file
statusCheck status of service data file
copyCopy existing service data
deleteDelete existing service data
Table 2. servicelog options
OptionDescriptionValues
-tService log type
  • 1: Debug log (FFDC, default)
  • 2: Service data log
  • 3: Service data log coupled debug log, which is only valid when copying log files
Additional options for generate command
-cDump data category selection. The data category won't be contained if not specified with this option.
  • For type 1 (ffdc): corefile
  • For type 2 (service data log): network, audit, telemetry, osscreen
Additional options for generate and copy commands
-f 
Remote filename or sftp target directory.For sftp, use full path or trailing / on directory name (~/ or /tmp/). The default value is the system generated name.
-ip 
Address of the tftp/sftp server.Valid IP address
-pn 
Port number of the tftp/sftp server.Valid port number (default 69/22)
-u 
Username for the sftp server.Valid user name
-pw 
Password for the sftp server.Valid password
-timeout
Minutes to allow for foreground copy.Between 1 and 5 (default 1)
Example:
system> servicelog generate
Generating ffdc...
system> servicelog status
Type 1 ffdc: in progress
system> servicelog copy -t 1 -ip 192.168.70.230 -u User2 -pw Passw0rd -f /tmp/
Waiting for ffdc.....
Copying ffdc...
ok
system> servicelog status
Type 1 ffdc: completed
8737AC1_DSY0123_xcc_120317-153327.tgz


system> servicelog generate
Generating ffdc...
system> servicelog status
Type 1 ffdc: in progress
system> servicelog status
Type 1 ffdc: in progress
system> servicelog copy -ip 192.168.70.230
Copying ffdc...
ok
system> servicelog status
Type 1 ffdc: completed
8737AC1_DSY0123_xcc_120926-105320.tgz
system>