GPLIB (general purpose library) memory diagnostic commands provide a detailed breakdown of all memory currently allocated on the TX board. The TX kernel GPLIB manages all memory control on the board. Use the following GPLIB memory diagnostic commands to identify memory corruption issues:
[gpmem] commands |
Description |
cfg |
Displays pool configuration settings. |
listchk |
Traverses a list verifying list consistency. [v] = verbose. |
chkpools |
Finds all GPLIB pools. Checks the following: [l]: Lists [P]: BKs [z]: Zero-fill |
mem |
Shows memory usage. This command is also present in the [con] Standard commands. |
memwalk |
Walks a memory chain (following link pointers). |
pbk |
Displays memory area as a !pbk (pooled memory block). |
pool |
Displays memory area as a !poo (pooled memory descriptor). |
pools |
Displays all memory pools on the system, including:
This command is also present in the [con] Standard commands. |
prg |
Displays memory area as a !prg (pooled memory region). |
total |
Shows total dynamic memory usage (MEM_INFO_TOTAL). This command is also present in the [con] Standard commands. |
usage |
Displays limited pool memory usage. This command is also present in the [con] Standard commands. |