ONTAP 9.12.1 commands

50←PDF
  • ONTAP 9.12.1 commands(CA08871-263en.pdf)
  • system node coredump show

    Display a list of coredumps

    Availability: This command is available to cluster administrators at the admin privilege level.

    Description

    The system node coredump show command displays basic information about core dumps, such as the core dump name, time of panic that triggered the core dump and whether the core file is saved. You can specify optional parameters to display information that matches only those parameters. For example, to display the list of kernel core files, run the command with -type kernel.

    Parameters

    { [-fields <fieldname>,…​]

    If you specify the -fields <fieldname>, …​ parameter, the command output also includes the specified field or fields. You can use '-fields ?' to display the fields to specify.

    | [-system ]

    If you specify this parameter, the command displays the following information:

    • Node name

    • Core dump name

    • Core dump ID

    • Node that panicked and generated the core

    • System ID of the node that panicked and generated the core

    • Version of the core

    | [-instance ] }

    If you specify the -instance parameter, the command displays detailed information about all fields.

    [-node {<nodename>|local}] - Node That Owns the Coredump

    If you specify both this parameter and the -corename parameter, the command displays detailed information about the specified core. If you specify this parameter by itself, the command displays information about the core files on the specified node.

    [-type {kernel|ancillary-kernel-segment|application}] - Coredump Type

    This parameter specifies the type of core files to be displayed. If the type is kernel and the system supports segmented core files, the command displays information about primary kernel core segment files. If the type is kernel and the system does not support segmented core files, the command displays information about full core files. If the type is ancillary-kernel-segment, the command displays information about ancillary kernel core segment files. If the type is application, the command displays information about application core files. If no type is specified, the command displays information about core files of type kernel or application.

    [-corename <text>] - Coredump Name

    If you specify both this parameter and the -node parameter, the command displays detailed information about the specified core. If you specify this parameter by itself, the command displays information about the core files that match the specified name.

    [-panic-node <text>] - Node That Generated Core

    If you specify this parameter with a node name, the command displays information only about the core files that were generated when the specified node panicked.

    [-panic-systemid <integer>] - System ID of Node That Generated Core

    If you specify this parameter, the command displays information only about the core files that were generated when the node with the specified system ID panicked.

    [-version <text>] - Data ONTAP Version of Core

    If you specify this parameter, the command displays information only about the core files that match the specified version.

    [-panic-time <MM/DD/YYYY HH:MM:SS>] - Time of Panic That Generated Core

    If you specify this parameter, the command displays information only about the core files that were generated by a panic at the specified time. Specify time in the format of MM/DD/YYYY HH:MM:SS [+- HH:MM] . You can use [+- HH:MM] to specify the time range within which all core files triggered by a panic are displayed. [+- HH:MM] is relative to UTC.

    [-panic-string <text>] - Panic String

    If you specify this parameter, the command displays information only about the core files that match the specified panic string.

    [-is-saved {true|false}] - Saved Core

    If you specify this parameter, the command displays information only about the core dumps that are or are not saved yet to a core file.

    [-is-partial {true|false}] - Partial Core

    If you specify this parameter, the command displays information only about the core dumps that are or are not partially saved.

    [-save-attempts <integer>] - Number of Attempts to Save Core

    If you specify this parameter, the command displays information only about the core dumps that have the specified number of successful or failed save attempts.

    [-space-needed {<integer>[KB|MB|GB|TB|PB]}] - Space Needed To Save Core

    If you specify this parameter, the command displays information only about the core dumps that need the specified amount of disk space to save into a core file.

    [-size <text>] - Size of Core (bytes)

    If you specify this parameter, the command displays information only about the saved core files that are of the specified size.

    [-md5-data-chksum <text>] - MD5 Checksum of the Compressed Data of Core

    If you specify this parameter, the command displays information only about the saved core files that have the specified MD5 checksum for compressed data of the core.

    [-ancillary-segment-directory <text>] - Directory Holding Ancillary Kernel Core Segments

    If you specify this parameter, the command displays information only about the saved core files that have the specified ancillary segment directory.

    Examples

    The following examples display information about the core files:

    cluster1::> system node coredump show
    Node   Core Name                  Saved  Panic Time
    -------- ------------------------------------------- ------- -----------------
    node0
         core.101182345.2010-02-01.14_19_08.nz    false  2/1/2010 09:19:08
           Partial Core: false
           Number of Attempts to Save Core: 2
           Space Needed To Save Core: 4.45GB
    node1
         core.101268397.2010-05-30.19_37_31.nz    true  5/30/2010 15:37:31
    node2
         core.101270930.2010-09-06.18_40_03.nz    true  9/6/2010 14:40:03
    node3
         core.101271326.2010-09-06.19_06_18.nz    true  9/6/2010 15:06:18
         core.101271326.2010-09-06.19_09_49.nz    true  9/6/2010 15:09:49
    4 entries were displayed.
    cluster1::> system node coredump show -panic-time 9/6/2010 15:00:00+3:00
    Node   Core Name                  Saved  Panic Time
    -------- ------------------------------------------- ------- -----------------
    node3
         core.101271326.2010-09-06.19_06_18.nz    true  9/6/2010 15:06:18
         core.101271326.2010-09-06.19_09_49.nz    true  9/6/2010 15:09:49
    2 entries were displayed.
    Top of Page