Brocade Fabric OS Command Reference Manual (53-1000240-01, November 2006)

Fabric OS Command Reference Manual 2-545
Publication Number: 53-1000240-01
saveCore
2
Note: Enter commands in lowercase only; mixed case is for readability.
saveCore
Saves or removes core files created by daemons.
Synopsis To FTP core files:
savecore [[-f core_file_list]... | -F][-h ipaddress][-u user_name | -a][-p password]
[-d remote_directory]
To remove core files:
savecore [[-r core_files_list]... | -R]
To list core files:
savecore -l
Description Use this command to FTP core files, to remove core files, or to list core files. saveCore is an interactive
command.
Operands This command has the following operands:
-h ipaddress Specify a host name if FTP requires it.
-u user_name Specify a user name for the host name; default is anonymous.
-p password Specify a password for the user name.
-a Specify to use anonymous FTP to download the core files. This option cannot be
used with the -u option.
-d remote_directory Specify the name of the remote directory into which the core files are copied. The
directory will be created if it does not already exist. It is assumed that the user has
sufficient privilege to create files at this location.
-f core_file_list Specify a list of the core file directories to transfer to a remote site. This list can
be comma-separated directory list or just a single directory name. Only the
standard core files directories can be specified (/core_files and /mnt/core_files);
all other files or directories are ignored.
-R Specify this option to remove all core files.
-r core_files_list Specify this option to remove core files under the directory list given. Removes
all the core files under the listed directories. The directory list is a comma-
separated list of core files directory and other files, if any, will be ignored. No
confirmation will be made before removal.
-l Specify this option to list all core files.
Examples To list all core files in a CP:
switch:admin> savecore -l
/core_files/panic/core.873
/core_files/zoned/core.1234
/core_files/zoned/core.5678
/mnt/core_files/nsd/core.873
/mnt/core_files/panic/core.873