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 log to Support.

Syntax:
servicelog [subset_command] [-options]
Table 1. servicelog subset commands
OptionDescription
generateCreate a new service log
statusCheck latest service log status
listList all current available service logs
copyCopy existing service logs
Table 2. servicelog options
OptionDescriptionValues
-tService log type
  • 1: Debug log (FFDC, default)
  • 2: Service data log
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): adapter
  • 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 status
Type 1 ffdc: not found.
Type 2 minilog: not found.
system> servicelog generate
Generating ffdc....
ok
system> servicelog status
Type 1 ffdc: in progress.
Type 2 minilog: not found.
system> servicelog status
Type 1 ffdc: completed. 7DDJTOO0WW_1234567890_xcc3_DebugLog_241115-161227.tar.zst
Type 2 minilog: not found.
system> servicelog copy -t 1 -f /home3/lining29/7DDJTOO0WW_1234567890_xcc3_DebugLog_241115-161227.tar.zst -ip 10.240.218.90 -pn 22 -u lining29 -pw 123456
Copying ffdc...
ok