show task
Syntax
Release Information
Command introduced before Junos OS Release 7.4.
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. |
summary | — | (Optional) Display summary information about running tasks. |
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. |
snooping | — | Show only snooping tasks. |
Required Privilege Level
view
List of Sample Output
show taskOutput 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:
|
Sample Output
show task
user@host> show task
Pri Task Name Pro Port So Flags 10 IF 15 LABEL 15 ISO 15 INET 7 20 Aggregate 20 RT 30 ICMP 1 9 39 ISIS I/O 12 40 IS-IS 10 40 BGP RT Background <LowPrio> 40 BGP.0.0.0.0+179 179 15 <Accept LowPrio> 50 BGP_69.192.168.201.234+179 179 17 <LowPrio> 50 BGP_70.192.168.201.233+179 179 16 <LowPrio> 50 BGP_Group_69_153 <LowPrio> 50 BGP_Group_70_153 <LowPrio> 50 ASPaths 60 KRT 255 1 60 Redirect 70 MGMT.local 14 <LowPrio> 70 MGMT_Listen./var/run/rpd_mgmt 13 <Accept LowPrio> 70 SNMP Subagent./var/run/sub_rpd.sock 8 <LowPrio>