Chapter 59
Monitoring System Processes and Logs
S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m
vpm
Saving Cores
You can save cores (from the active supervisor module, the standby supervisor module, or any switching
module) to an external CompactFlash (slot 0) or to a TFTP server in one of two ways:
•
•
A new scheme overwrites any previously issued scheme. For example, if you perform another core log
copy task, the cores are periodically saved to the new location or file.
Be sure to create any required directory before performing this task. If the directory specified by this
Tip
task does not exist, the switch software logs a system message each time a copy cores is attempted.
To copy the core and log files on demand, follow this step:
Command
Step 1
switch# show cores
Step 2
switch# copy core:7407 slot0:coreSample
switch# copy core://5/1524
tftp://1.1.1.1/abcd
1.
2.
•
•
OL-18084-01, Cisco MDS NX-OS Release 4.x
2930
On demand—Copies a single file based on the provided process ID.
Periodically—Copies core files periodically as configured by the user.
Cisco MDS 9506 or Cisco MDS 9509 switch
Cisco MDS 9513 Director
If the core file for the specified process ID is not available, you see the following response:
switch# copy core://7/123 slot0:abcd
No matching core file found
switch# copy core:133 slot0:foo
Enter module number:7
No matching core file found
switch# copy core://7/133 slot0:foo
No matching core file found
If two core files exist with the same process ID, only one file is copied:
switch# copy core:7407 slot0:foo1
2 core files found with pid 7407
Only "/isan/tmp/logs/calc_server_log.7407.tar.gz" will be copied to the destination.
N
N
N
Mon Nov 17 19:14:33 2003
Purpose
Displays all the core files.
Copies the core file with the process ID 7407 as
coreSample in slot 0.
Copies cores (if any) of a process with PID 1524
generated on slot 5
at IPv4 address 1.1.1.1.
You can also use IPv6 addresses to
Note
identify the TFTP server.
Cisco MDS 9000 Family CLI Configuration Guide
Core and Log Files
1
2
or slot 7
to the TFTP server
59-7