show task
Syntax
show task <logical-system (all | logical-system-name)> <task-name> io logical-system-mux memory replication scheduler-slip-history snooping summary
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, |
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.
Field Name |
Field Description |
---|---|
|
Current priority of the process. A lower number indicates a higher priority. |
|
Name of the task. |
|
IP protocol number associated with the process. |
|
TCP or UDP port number associated with the task. |
|
Socket number of the task. |
|
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> 40 KRT IO task {krtio-th} 40 krtio-th {krtio-th} 60 krt solic client 255 85 <ReadDisableWriteDisable> {krtio-th} 13 rsvp-iobagent./var/run/sub_rpd.sock 46 <WriteDisable> {rsvp-io} 80 jtrace_jthr_task 255 85 {TraceThread}
show task scheduler-slip-history
user@host> show task scheduler-slip-history Scheduler Slip Report: Total number of Scheduler Slips: 11 Scheduler Slip Logs(last 64): Timestamp Total User System 10/13/21 09:19:08 5 sec 0 sec 382 usec 0 sec 0 usec 10/13/21 09:18:55 5 sec 0 sec 575 usec 0 sec 0 usec 10/13/21 09:18:26 5 sec 0 sec 483 usec 0 sec 0 usec 10/13/21 09:18:20 5 sec 0 sec 616 usec 0 sec 0 usec 10/13/21 09:18:14 5 sec 0 sec 471 usec 0 sec 0 usec 10/13/21 09:17:58 5 sec 0 sec 0 usec 0 sec 90 usec 10/13/21 09:17:52 5 sec 0 sec 0 usec 0 sec 6290 usec 10/13/21 09:17:46 5 sec 0 sec 543 usec 0 sec 0 usec 10/13/21 09:17:40 5 sec 0 sec 1368 usec 0 sec 0 usec 10/13/21 09:17:34 5 sec 0 sec 487 usec 0 sec 0 usec
Release Information
Command introduced before Junos OS Release 7.4.