Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

show task memory

Syntax

Syntax (EX Series Switches)

Description

Display memory utilization for routing protocol tasks on the Routing Engine.

Note:

The show task memory command does not display all the memory used by the routing protocol process. This value does not account for the memory used for the TEXT and STACK segments, or the memory used by the routing protocol process’s internal memory manager.

Options

none

Display standard information about memory utilization for routing protocol tasks on the Routing Engine on all logical systems.

brief | detail | history | summary

(Optional) Display the specified level of output. Use the history option to display a history of memory utilization information.

logical-system (all | logical-system-name)

(Optional) Perform this operation on all logical systems or on a particular logical system.

Required Privilege Level

view

Output Fields

Table 1 describes the output fields for the show task memory command. Output fields are listed in the approximate order in which they appear.

Table 1: show task memory Output Fields

Field Name

Field Description

Level of Output

Memory Currently In Use

Memory currently in use. Dynamically allocated memory plus the DATA segment memory in kilobytes.

All levels

Memory Maximum Ever Used

Maximum memory ever used.

none specified, brief, history

Memory Available

Memory currently available.

Note:

The maximum currently available memory is displayed incorrectly. On 32-bit Junos OS, the actual available memory is 2,097,152 kilobytes (2147483648 / 1024) but instead it is displayed as 2,147,484 kilobytes (2147483648 / 1000). On 64-bit Junos OS, the actual available memory is 3,145,728 kilobytes (3221225472 / 1024) but instead it is displayed as 3221225 kilobytes (3221225472 / 1000).

none specified, brief

Size (kB)

Memory capacity in 1000-byte kilobytes.

none specified, brief, history, summary

Percentage

Percentage of memory currently available.

none specified, brief

When

Timestamp.

none specified, brief, history

Overall Memory Report

Memory utilization by memory size:

  • Size—Block size, in bytes.

  • TXPT indicates transient memory, X indicates exclusive memory, and P indicates full page.

  • Allocs—Number of blocks allocated for named objects.

  • Mallocs—Number of blocks allocated for anonymous objects.

  • Alloc Bytes—Number of blocks allocated times block size.

  • MaxAllocs—Maximum value ofAllocs.

  • MaxBytes—Maximum value of Alloc Bytes.

  • FreeBytes—Total number of bytes unused on memory pages for this block size.

detail

Allocator Memory Report

Memory utilization by named objects:

  • Size—Size of the named object in bytes.

  • Alloc Size—Actual memory used by that object in bytes.

  • DTXP—D indicates debug, T indicates transient memory, X indicates exclusive memory, and P indicates full page.

  • Alloc Blocks—Number of named objects allocated.

  • AllocBytes—Number of blocks allocated times block size.

  • MaxAlloc Blocks—Maximum value of Alloc Blocks.

  • Max Alloc Bytes—Maximum value of AllocBytes.

detail

Malloc Usage Report

Memory utilization for miscellaneous use:

  • Allocs—Number of allocations.

  • Bytes—Total bytes consumed.

  • MaxAllocs—Maximum value of Allocs.

  • MaxBytes—Maximum value of Bytes.

  • FuncCalls—Cumulative number of Allocs.

detail

Dynamically allocated memory

Memory allocated dynamically by the system.

detail

Program data+BSS memory

Program and base station subsystem (BSS) memory.

detail

Page data overhead

Internal memory overhead.

detail

Page directory size

Internal memory overhead.

detail

Total bytes in use

Total memory, in bytes, that is currently in use and percentage of available memory (in parentheses).

detail

Sample Output

show task memory

show task memory detail

Release Information

Command introduced before Junos OS Release 7.4.