LINKCHECK (Check Memory Link)

The LINKCHECK command examines each memory link in the in-use and available areas of memory and validates several memory management structures. If an error is found, an error message is displayed and DUMPANALYZER recovers and continues. LINKCHECK is valid only for COMPLETE memory dumps because the memory links are validated before the dumping process is initiated and the memory is not in any special order.

Syntax

              ┌◄──────────────┐
── LINKCHECK ─┴─┬───────────┬─┴────────────────────────────────────────┤
                ├─ ALL ─────┤
                ├─ LINKS ───┤
                ├─ LISTS ───┤
                ├─ MEMTOSS ─┤
                ├─ POOLS ───┤
                └─ WSLRU ───┘

Explanation

LINKCHECK

LINKCHECK ALL

Performs all validation.

LINKCHECK LINKS

Validates the link words associated with in-use and available areas.

LINKCHECK LISTS

Validates available memory lists.

LINKCHECK MEMTOSS

Validates Top of Save Memory Pointers.

LINKCHECK POOLS

When the POOL option is specified, the LINKCHECK command validates the various pool area lists within each memory pool structure.

LINKCHECK WSLRU

Validates Working Set Least Recently Used list.

<AX options>

── ?AX ─┬─ BRK ───────┬────────────────────────────────────────────────┤
        ├─ WHERE ─────┤
        ├─ STOP ──────┤
        ├─ + ── TEXT ─┤
        └─ ─ ── TEXT ─┘

Explanation

You can enter an AX option after initiating the LINKCHECK command to monitor and control the progress of the command. The following table describes the meaning of each option.

?AX Option

Description

BRK STOP

None of these options cause DUMPANALYZER to abort the command.

WHERE

Displays the current status of the LINKCHECK command.

+T

Enables the output of detailed link and list information.

-T

Suppresses the output of detailed link and list information. This is the default setting.

Example

The following is an example of LINKCHECK ALL output that found no errors:

LINKCHECK ALL
  ANALYZING MEMORY LINKS...
  NO ERRORS DETECTED IN MEMORY LINKS
  ANALYZING SAVE_AVAIL_LISTS...
  NO ERRORS DETECTED IN SAVE_AVAIL_LISTS
  ANALYZING OLAY_AVAIL_LISTS...
  NO ERRORS DETECTED IN OLAY_AVAIL_LISTS
  VERIFYING MEM_TOSS POINTERS...
  NO ERRORS DETECTED IN MEM_TOSS POINTERS
  ANALYZING WORKING SET LRU LIST...
  NO ERRORS DETECTED IN WORKING SET LRU LIST
  ANALYZING MEMORY POOL LISTS...
  NO ERRORS DETECTED IN MEMORY POOL LISTS
  ANALYZING LIMBO POOL LISTS...             
  ANALYZING SAVE LIMBO POOL POOLAREAS...  
  ANALYZING OLAY LIMBO POOL POOLAREAS...  
NO ERRORS DETECTED IN LIMBO POOL LISTS