Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

show task

Syntax

Description

Display routing protocol tasks on the Routing Engine.

Options

none

Display all routing protocol tasks on the Routing Engine.

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

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

logical-system-mux

Display the logical router multiplexer process (lrmuxd) per-task information.

task-name

(Optional) Display information about running tasks for all tasks whose name begins with this string (for example, BGP_Group_69_153 and BGP_Group_70_153 are both displayed when you run the show task BGP_Group command).

io

Show i/o statistics for all tasks displayed.

memory

Show memory statistics for all tasks displayed.

replication

Show only replication tasks.

scheduler-slip-history

Show the number of scheduler slips (wherein the scheduler is unable to provide requested CPU time to a process) that have occurred since the last RPD start, including some scheduler slip details.

snooping

Show only snooping tasks.

summary

(Optional) Display summary information about running tasks.

Required Privilege Level

view

Output Fields

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

Table 1: show task Output Fields

Field Name

Field Description

Pri

Current priority of the process. A lower number indicates a higher priority.

Task Name

Name of the task.

Pro

IP protocol number associated with the process.

Port

TCP or UDP port number associated with the task.

So

Socket number of the task.

Flags

Flags for the task:

  • Accept—Task is waiting for incoming connections.

  • Connect—Task is waiting for a connection to be completed.

  • Delete—Task has been deleted and is being cleaned up.

  • LowPrio— Task will be dispatched to read its socket after other higher-priority tasks.

Sample Output

show task

show task scheduler-slip-history

Release Information

Command introduced before Junos OS Release 7.4.