Operational Command Reference

This section is a command reference for the following command-line interface (CLI) operational mode commands:

Operational mode commands show you the current status of the router's interfaces, chassis, protocols, and system information and are used to monitor and troubleshoot configurations. The operational commands described in this section are specific to the configuration of SDK applications either in whole or in part.

The commands are listed in alphabetical order.


clear interfaces statistics

Syntax

clear interfaces statistics (all | interface-name)

Release Information

Support for the rms interface introduced in JUNOS Release 9.5.

Description

Clear interface statistics. When the show interfaces statistics command is issued in the future, the output will show the packets received since the last time clear interfaces statistics was issued. However, after a graceful Routing Engine switchover (GRES), issuing the show interfaces statistics command will show cumulative statistics.

For this command's usage in other interface types, see the JUNOS Interfaces Command Reference.

Options

all—Clear statistics on all interfaces.

interface-name—Clear statistics on the interface named.

Required Privilege Level

clear

List of Sample Output

clear interfaces statistics

Output Fields

There is no output for this command.

clear interfaces statistics rms0

user@host> clear interfaces statistics rms0

Return to top of page


clear services stateful-firewall flows

Syntax

clear services stateful-firewall flows
<interface interface-name> 

Release Information

Support of ms- interface introduced in JUNOS Release 9.5.

Description

Remove established flows from flow table.

Options

interface interface-name—Name of interface.

Required Privilege Level

clear

List of Sample Output

clear services stateful-firewall flows

There is no output for this command.

clear services stateful-firewall flows

user@host> clear services stateful-firewall flows

Return to top of page


request interface (revert | switchover)

Syntax

request interface (revert | switchover)

Release Information

Support for the rms interface introduced in JUNOS Release 9.5.

Description

Manually revert to the primary interface, or switch over to the secondary interface. After the switchover, it is recommended to offline the old active PIC so it comes up fresh as a new backup.

For this command's usage in other interface types, see the JUNOS Interfaces Command Reference.

Options

revert—Restore active processing to the primary MultiServices PIC.

switchover—Transfer active processing to the secondary (backup) MultiServices PIC.

Required Privilege Level

view

List of Sample Output

request interface switchover

request interface revert

Output Fields

One of two outputs are possible:

request interface switchover

user@host> request interface switchover rms0 
request succeeded

request interface revert

user@host> request interface revert rms0        
request succeeded

user@host> request interface revert rms0    
error: command invalid for current state

Return to top of page


show chassis pic

Syntax

show chassis pic fpc-slot slot-number pic-slot slot-number 

Release Information

Command introduced before JUNOS Release 7.4.

Description

Display status information about the PIC installed in the specified Flexible PIC Concentrator (FPC) and PIC slots. For PICs configured with SDK application packages, the show chassis pic command displays Extension-provider in the Package field.

For more information about this command, see the JUNOS System Basics and Services Command Reference.

Options

fpc-slot slot-number—Slot number of the FPC that houses the PIC for which you want status information.

pic-slot slot-number—Slot number of the PIC slot that houses the PIC for which you want status information. Replace slot-number with a value from 0 through 3.

For more information about options for this command, see the JUNOS System Basics and Services Command Reference.

Required Privilege Level

view

List of Sample Output

show chassis pic pic-slot fpc-slot

Output Fields

For a description of the output fields, see the Output Fields table for the show chassis pic command in the JUNOS System Basics and Services Command Reference.

show chassis pic pic-slot fpc-slot

user@host> show chassis pic pic-slot 1 fpc-slot 1
FPC slot 1, PIC slot 1 information:
  Type                         MultiServices 100
  State                        Online    
  PIC version                  1.5
  Uptime                       5 hours, 59 minutes, 34 seconds
  Package                      Extension-provider

Return to top of page


show extension-provider system connections

Syntax

show extension-provider system connections
<extensive>
<inet | inet6>
<interface>
<show-routing-instances>      

Release Information

Command introduced in JUNOS Release 9.1.

Description

Show connection activity on the extension provider PIC. This command functions the same as the show system connections command in the JUNOS System Basics and Services Command Reference.

Options

extensive—(Optional) Display exhaustive system process information.

inet | inet6—(Optional) Display IPv4 connections or IPv6 connections, respectively.

interface—(Optional) Name of the extension provider interface for which you want information.

show-routing-instances—(Optional) Display routing instances.

Required Privilege Level

view

List of Sample Output

show extension-provider system connections

show extension-provider system connections extensive interface

show extension-provider system connections inet

show extension-provider system connections inet6

show extension-provider system connections interface

show extension-provider system connections show-routing-instances

Output Fields

For a description of the output fields, see the Output Fields table for the show system connections command in the JUNOS System Basics and Services Command Reference.

show extension-provider system connections

user@host> show extension-provider system connections
Interface: ms-0/0/0
Active Internet connections (including servers)
Proto Recv-Q Send-Q  Local Address          Foreign Address        (state)
tcp4       0      0  20.0.0.16.32004        20.0.0.1.64292         ESTABLISHED
tcp4       0      0  20.0.0.16.3000         20.0.0.1.58036         ESTABLISHED
tcp4       0      0  20.0.0.16.59517        20.0.0.1.3000          ESTABLISHED
tcp4       0      0  *.3000                 *.*                    LISTEN
tcp4       0      0  *.32004                *.*                    LISTEN
tcp4   66312      0  20.0.0.16.59592        20.0.0.1.32003         ESTABLISHED
tcp4       0      0  *.23                   *.*                    LISTEN
tcp4       0      0  *.33005                *.*                    LISTEN
tcp4       0      0  128.0.1.16.49900       128.0.0.1.6234         ESTABLISHED
udp4       0      0  *.842                  *.*
udp4       0      0  127.0.0.1.123          *.*
udp4       0      0  *.123                  *.*
udp46      0      0  *.514                  *.*
udp4       0      0  *.514                  *.*
Interface: ms-0/2/0
Active Internet connections (including servers)
Proto Recv-Q Send-Q  Local Address          Foreign Address        (state)
tcp4       0      0  20.0.0.18.32004        20.0.0.1.62402         ESTABLISHED
tcp4       0      0  *.33005                *.*                    LISTEN
tcp4       0      0  128.0.3.16.59592       128.0.0.1.6234         ESTABLISHED
tcp4       0      0  *.23                   *.*                    LISTEN
tcp4       0      0  *.32004                *.*                    LISTEN
tcp4       0      0  20.0.0.18.49900        20.0.0.1.32003         ESTABLISHED
udp4       0      0  *.789                  *.*
udp4       0      0  127.0.0.1.123          *.*
udp4       0      0  *.123                  *.*
udp46      0      0  *.514                  *.*
udp4       0      0  *.514                  *.*

show extension-provider system connections extensive interface

user@host> show extension-provider system connections extensive interface ms-0/2/0
Interface: ms-0/2/0
Active Internet connections (including servers)
Proto Recv-Q Send-Q  Local Address          Foreign Address        (state)
tcp4       0      0  20.0.0.18.32004        20.0.0.1.49792         ESTABLISHED
   sndsbcc:          0 sndsbmbcnt:          0  sndsbmbmax:     265248
sndsblowat:       2048 sndsbhiwat:      33156
   rcvsbcc:          0 rcvsbmbcnt:          0  rcvsbmbmax:     530496
rcvsblowat:          1 rcvsbhiwat:      66312
   proc id:          1  proc name:
       iss: 4025626166      sndup: 4025626167
    snduna: 4025626167     sndnxt: 4025626167      sndwnd:      66312
    sndmax: 4025626167    sndcwnd:     131070 sndssthresh: 1073725440
       irs: 3544420903      rcvup: 3544420904
    rcvnxt: 3544421176     rcvadv: 3544487488      rcvwnd:      66312
       rtt:          0       srtt:         64        rttv:         16
    rxtcur:       1200   rxtshift:          0       rtseq:          0
    rttmin:       1000  mss:       1228
     flags: REQ_SCALE RCVD_SCALE REQ_TSTMP RCVD_TSTMP SACK_PERMIT [0x20003e0]
. . .

show extension-provider system connections inet

The output for the show extension-provider system connections inet command is identical to that for the show extension-provider system connections command. For sample output, see the show extension-provider system connections command.

show extension-provider system connections inet6

user@host> show extension-provider system connections inet6  
Interface: ms-0/0/0
Active Internet connections (including servers)
Proto Recv-Q Send-Q  Local Address          Foreign Address        (state)
udp6       0      0  *.123                  *.*
udp46      0      0  *.514                  *.*
Interface: ms-0/2/0
Active Internet connections (including servers)
Proto Recv-Q Send-Q  Local Address          Foreign Address        (state)
udp6       0      0  *.123                  *.*
udp46      0      0  *.514                  *.*

show extension-provider system connections interface

user@host> show extension-provider system connections interface ms-0/2/0
Interface: ms-0/2/0
Active Internet connections (including servers)
Proto Recv-Q Send-Q  Local Address          Foreign Address        (state)
tcp4       0      0  20.0.0.18.32004        20.0.0.1.59521         ESTABLISHED
tcp4       0      0  *.33005                *.*                    LISTEN
tcp4       0      0  128.0.3.16.51534       128.0.0.1.6234         ESTABLISHED
tcp4       0      0  *.23                   *.*                    LISTEN
tcp4       0      0  *.32004                *.*                    LISTEN
tcp4       0      0  20.0.0.18.61044        20.0.0.1.32003         ESTABLISHED
udp4       0      0  *.914                  *.*
udp4       0      0  127.0.0.1.123          *.*
udp4       0      0  *.123                  *.*
udp46      0      0  *.514                  *.*
udp4       0      0  *.514                  *.*

show extension-provider system connections show-routing-instances

user@host> show extension-provider system connections show-routing-instances   
Interface: ms-0/0/0
Active Internet connections (including servers) (including routing-instances)
Proto Recv-Q Send-Q  Local Address          Foreign Address        Routing Instance       (state)
tcp4       0      0  20.0.0.16.32004        20.0.0.1.52590         __juniper_private2__   ESTABLISHED
tcp4       0      0  20.0.0.16.3000         20.0.0.1.58036         __juniper_private2__   ESTABLISHED
tcp4       0      0  20.0.0.16.59517        20.0.0.1.3000          __juniper_private2__   ESTABLISHED
tcp4       0      0  *.3000                 *.*                    __juniper_private2__   LISTEN
tcp4       0      0  *.32004                *.*                    __juniper_private2__   LISTEN
tcp4   66312      0  20.0.0.16.59592        20.0.0.1.32003         __juniper_private2__   ESTABLISHED
tcp4       0      0  *.23                   *.*                    __juniper_private1__   LISTEN
tcp4       0      0  *.33005                *.*                    __juniper_private2__   LISTEN
tcp4       0      0  128.0.1.16.49900       128.0.0.1.6234         __juniper_private1__   ESTABLISHED
udp4       0      0  *.842                  *.*                    __juniper_private1__
udp4       0      0  127.0.0.1.123          *.*                    default
udp4       0      0  *.123                  *.*                    __juniper_private1__
udp46      0      0  *.514                  *.*                    default
udp4       0      0  *.514                  *.*                    __juniper_private1__
Interface: ms-0/2/0
Active Internet connections (including servers) (including routing-instances)
Proto Recv-Q Send-Q  Local Address          Foreign Address        Routing Instance       (state)
tcp4       0      0  20.0.0.18.32004        20.0.0.1.54602         __juniper_private2__   ESTABLISHED
tcp4       0      0  *.33005                *.*                    __juniper_private2__   LISTEN
tcp4       0      0  128.0.3.16.59592       128.0.0.1.6234         __juniper_private1__   ESTABLISHED
tcp4       0      0  *.23                   *.*                    __juniper_private1__   LISTEN
tcp4       0      0  *.32004                *.*                    __juniper_private2__   LISTEN
tcp4       0      0  20.0.0.18.49900        20.0.0.1.32003         __juniper_private2__   ESTABLISHED
udp4       0      0  *.789                  *.*                    __juniper_private1__
udp4       0      0  127.0.0.1.123          *.*                    default
udp4       0      0  *.123                  *.*                    __juniper_private1__
udp46      0      0  *.514                  *.*                    default
udp4       0      0  *.514                  *.*                    __juniper_private1__

Return to top of page


show extension-provider system packages

Syntax

show extension-provider system packages 
<detail>
<interface>

Release Information

Command introduced in JUNOS Release 9.1.

Description

Show the SDK application packages that are loaded on the extension provider PIC. This command functions the same as the show system software command in the JUNOS System Basics and Services Command Reference.

Options

none—Display standard information about all loaded JUNOS extensions.

detail—(Optional) Display a detailed level of information.

interface—(Optional) Name of the extension provider interface for which you want information.

Required Privilege Level

view

List of Sample Output

show extension-provider system packages

show extension-provider system packages detail

show extension-provider system packages interface

Output Fields

Output field descriptions to be provided.

show extension-provider system packages

user@host> show extension-provider system packages
Interface: ms-0/0/0
jmpsdk              JUNOS MPSDK Base OS boot [9.2R1.3]
jnx-flow-data-pic   JUNOS SDK JNX-FLOW Dataplane Component [9.2I20080801_1059]
Interface: ms-0/2/0
jmpsdk              JUNOS MPSDK Base OS boot [9.2R1.3]

show extension-provider system packages detail

user@host> show extension-provider system packages detail
Interface: ms-0/0/0
Information for jmpsdk:
Comment:
JUNOS MPSDK Base OS boot [9.2R1.3]
Description:
JUNOS MPSDK Base OS
Copyright (c) 1996-2008, Juniper Networks, Inc.
All rights reserved.
Software version:       9.2R1.3
This package contains the MPSDK base operating system components.
Information for jnx-flow-data-pic:
Comment:
JUNOS SDK JNX-FLOW Dataplane Component [9.2I20080801_1059]
Description:
JUNOS SDK JNX-FLOW Data Component Package
Copyright (c) 1996-2008, Juniper Networks, Inc.
All rights reserved.
Software version:       9.2I20080801_1059
This package contains SDK JNX-FLOW dataplane component
Interface: ms-0/2/0
Information for jmpsdk:
Comment:
JUNOS MPSDK Base OS boot [9.2R1.3]
Description:
JUNOS MPSDK Base OS
Copyright (c) 1996-2008, Juniper Networks, Inc.
All rights reserved.
Software version:       9.2R1.3
This package contains the MPSDK base operating system components.

show extension-provider system packages interface

user@host> show extension-provider system packages interface ms-0/2/0
Interface: ms-0/2/0
jmpsdk              JUNOS MPSDK Base OS boot [9.2R1.3]

Return to top of page


show extension-provider system processes

Syntax

show extension-provider system processes 
<brief | detail | extensive>
<interface>
<wide>

Release Information

Command introduced in JUNOS Release 9.1.

Description

Show the system process table on the extension provider PIC. This command functions the same as the show system processes command in the JUNOS System Basics and Services Command Reference.

Options

none—Display standard information about system processes.

detail | brief | extensive—(Optional) Display the specified level of detail.

interface—(Optional) Name of the extension provider interface for which you want information.

wide—(Optional) Display process information that might be wider than 80 columns.

Required Privilege Level

view

List of Sample Output

show extension-provider system processes

show extension-provider system processes brief

show extension-provider system processes detail

show extension-provider system processes extensive

show extension-provider system processes interface

show extension-provider system processes wide

show extension-provider system processes wide detail

Output Fields

For a description of the output fields, see the Output Fields table for the show system processes command in the JUNOS System Basics and Services Command Reference.

show extension-provider system processes

user@host> show extension-provider system processes
Interface: ms-0/0/0
  PID  TT  STAT      TIME COMMAND
    0  ??  WLs    0:00.00 [swapper]
    1  ??  SLs    0:00.75 /sbin/init --
    2  ??  DL     0:05.91 [g_event]
    3  ??  DL     0:03.96 [g_up]
    4  ??  DL     0:04.24 [g_down]
    5  ??  DL     0:00.00 [kqueue taskq]
    6  ??  DL     0:00.00 [thread taskq]
    9  ??  DL     0:00.15 [pagedaemon]
   10  ??  DL     0:00.00 [ktrace]
   11  ??  RL     0:00.00 [idle: cpu31]
   12  ??  RL     0:00.00 [idle: cpu30]
   13  ??  RL     0:00.00 [idle: cpu29]
   14  ??  RL     0:00.13 [idle: cpu28]
   15  ??  RL     0:00.00 [idle: cpu27]
   16  ??  RL     0:00.00 [idle: cpu26]
   17  ??  RL     0:00.00 [idle: cpu25]
   18  ??  RL     0:00.13 [idle: cpu24]
   19  ??  RL     0:00.00 [idle: cpu23]
   20  ??  RL     0:00.00 [idle: cpu22]
   21  ??  RL     0:00.00 [idle: cpu21]
   22  ??  RL     0:00.13 [idle: cpu20]
   23  ??  RL     0:00.00 [idle: cpu19]
   24  ??  RL     0:00.00 [idle: cpu18]
   25  ??  RL     0:00.00 [idle: cpu17]
   26  ??  RL     0:00.13 [idle: cpu16]
   27  ??  RL     0:00.00 [idle: cpu15]
   28  ??  RL     0:00.00 [idle: cpu14]
   29  ??  RL     0:29.15 [idle: cpu13]
   30  ??  RL   443:15.66 [idle: cpu12]
   31  ??  RL     0:29.15 [idle: cpu11]
   32  ??  RL     0:29.14 [idle: cpu10]
. . .

show extension-provider system processes brief

user@host> show extension-provider system processes brief
Interface: ms-0/0/0
last pid: 20238;  load averages: 11.64, 11.71, 11.74  up 0+07:24:28    22:23:18
91 processes:  45 running, 34 sleeping, 12 waiting
Mem: 8924K Active, 1768K Inact, 152M Wired, 156K Cache, 77M Buf, 200M Free
Swap:
Interface: ms-0/2/0
last pid: 13025;  load averages:  4.16,  4.08,  4.02  up 0+04:43:20    22:23:18
88 processes:  37 running, 32 sleeping, 19 waiting
Mem: 6488K Active, 1212K Inact, 156M Wired, 24K Cache, 75M Buf, 460M Free
Swap:

show extension-provider system processes detail

user@host> show extension-provider system processes detail
Interface: ms-0/0/0
  PID   UID  PPID CPU PRI NI   RSS WCHAN  STARTED  TT  STAT      TIME COMMAND
   20     0     0   0 171  0     8 -       2:59PM  ??  RL     0:00.00 [idle: cp
   21     0     0   0 171  0     8 -       2:59PM  ??  RL     0:00.00 [idle: cp
   22     0     0   0 171  0     8 -       2:59PM  ??  RL     0:00.13 [idle: cp
   28     0     0   0 171  0     8 -       2:59PM  ??  RL     0:00.00 [idle: cp
   15     0     0   0 171  0     8 -       2:59PM  ??  RL     0:00.00 [idle: cp
   19     0     0   0 171  0     8 -       2:59PM  ??  RL     0:00.00 [idle: cp
   11     0     0   0 171  0     8 -       2:59PM  ??  RL     0:00.00 [idle: cp
   12     0     0   0 171  0     8 -       2:59PM  ??  RL     0:00.00 [idle: cp
   13     0     0   0 171  0     8 -       2:59PM  ??  RL     0:00.00 [idle: cp
   16     0     0   0 171  0     8 -       2:59PM  ??  RL     0:00.00 [idle: cp
   17     0     0   0 171  0     8 -       2:59PM  ??  RL     0:00.00 [idle: cp
   18     0     0   0 171  0     8 -       2:59PM  ??  RL     0:00.13 [idle: cp
   26     0     0   0 171  0     8 -       2:59PM  ??  RL     0:00.13 [idle: cp
   68     0     0   0 -16  0     8 -       2:59PM  ??  RL     0:00.00 [pot: cpu
   70     0     0   0 -16  0     8 -       2:59PM  ??  RL     0:00.00 [poller:
   14     0     0   0 171  0     8 -       2:59PM  ??  RL     0:00.13 [idle: cp
   24     0     0   0 171  0     8 -       2:59PM  ??  RL     0:00.00 [idle: cp
   25     0     0   0 171  0     8 -       2:59PM  ??  RL     0:00.00 [idle: cp
   27     0     0   0 171  0     8 -       2:59PM  ??  RL     0:00.00 [idle: cp
   69     0     0   0 -16  0     8 -       2:59PM  ??  RL     0:00.00 [poller:
   23     0     0   0 171  0     8 -       2:59PM  ??  RL     0:00.00 [idle: cp
   30     0     0   0 171  0     8 -       2:59PM  ??  RL   444:58.30 [idle: cp
  259     0     1   0 139  0   840 -       2:59PM  ??  R    3111:46.43 /opt/sdk/
  120     0     1   0 139  0   652 select  2:59PM  ??  Ss   154:48.02 syslogd -
  142     0     1   0   8  0  1132 wait    2:59PM  ??  S    122:57.26 /usr/sbin
20287     0   142   0 109  0  1100 -      10:24PM  ??  R      0:00.08 /bin/ps -
    0     0     0   0 -16  0     0 -       2:59PM  ??  WLs    0:00.00 [swapper]
    1     0     0   0   8  0  1152 wait    2:59PM  ??  SLs    0:00.75 /sbin/ini
. . .

show extension-provider system processes extensive

user@host> show extension-provider system processes extensive
Interface: ms-0/0/0
last pid: 20384;  load averages: 11.51, 11.63, 11.69  up 0+07:27:42    22:26:32
91 processes:  45 running, 34 sleeping, 12 waiting
Mem: 8924K Active, 1784K Inact, 152M Wired, 156K Cache, 77M Buf, 200M Free
Swap:
  PID USERNAME  THR PRI NICE   SIZE    RES STATE  C   TIME   WCPU COMMAND
  259 root        8 139    0   643M   840K CPU13  d  52.1H 658.40% jnx-flow-data
   22 root        1 171   52     0K     8K CPU20  14   0:00 99.22% idle: cpu20
   21 root        1 171   52     0K     8K CPU21  0   0:00 99.22% idle: cpu21
   20 root        1 171   52     0K     8K CPU22  0   0:00 99.22% idle: cpu22
   15 root        1 171   52     0K     8K CPU27  0   0:00 98.49% idle: cpu27
   19 root        1 171   52     0K     8K CPU23  0   0:00 97.71% idle: cpu23
   28 root        1 171   52     0K     8K CPU14  0   0:00 97.71% idle: cpu14
   18 root        1 171   52     0K     8K CPU24  18   0:00 96.97% idle: cpu24
   26 root        1 171   52     0K     8K CPU16  10   0:00 96.97% idle: cpu16
   70 root        1 -16    0     0K     8K CPU8   0   0:00 96.97% poller: cpu8
   68 root        1 -16    0     0K     8K CPU1   0   0:00 96.97% pot: cpu1
   25 root        1 171   52     0K     8K CPU17  0   0:00 96.97% idle: cpu17
   17 root        1 171   52     0K     8K CPU25  0   0:00 96.97% idle: cpu25
   13 root        1 171   52     0K     8K CPU29  0   0:00 96.97% idle: cpu29
   12 root        1 171   52     0K     8K CPU30  0   0:00 96.97% idle: cpu30
   11 root        1 171   52     0K     8K CPU31  0   0:00 96.97% idle: cpu31
   16 root        1 171   52     0K     8K CPU26  0   0:00 96.97% idle: cpu26
   14 root        1 171   52     0K     8K CPU28  1c   0:00 96.24% idle: cpu28
Interface: ms-0/2/0
last pid: 13175;  load averages:  4.00,  4.04,  4.00  up 0+04:46:34    22:26:32
88 processes:  37 running, 32 sleeping, 19 waiting
Mem: 6488K Active, 1228K Inact, 156M Wired, 24K Cache, 75M Buf, 460M Free
Swap:
  PID USERNAME  THR PRI NICE   SIZE    RES STATE  C   TIME   WCPU COMMAND
   12 root        1 171   52     0K     8K CPU30  0   0:00 98.49% idle: cpu30
   23 root        1 171   52     0K     8K CPU19  0   0:00 98.49% idle: cpu19
   20 root        1 171   52     0K     8K CPU22  0   0:00 98.49% idle: cpu22
   21 root        1 171   52     0K     8K CPU21  0   0:00 98.49% idle: cpu21
   75 root        1 -16    0     0K     8K CPU16  4   0:00 97.71% poller: cpu16
   76 root        1 -16    0     0K     8K CPU20  4   0:00 97.71% poller: cpu20
   13 root        1 171   52     0K     8K CPU29  0   0:00 97.71% idle: cpu29
   14 root        1 171   52     0K     8K CPU28  1c   0:00 96.24% idle: cpu28
   77 root        1 -16    0     0K     8K CPU24  4   0:00 96.24% poller: cpu24
   16 root        1 171   52     0K     8K CPU26  0   0:00 96.24% idle: cpu26
   11 root        1 171   52     0K     8K CPU31  0   0:00 96.24% idle: cpu31
   24 root        1 171   52     0K     8K CPU18  0   0:00 96.24% idle: cpu18
   25 root        1 171   52     0K     8K CPU17  0   0:00 96.24% idle: cpu17
   17 root        1 171   52     0K     8K CPU25  0   0:00 96.24% idle: cpu25
   19 root        1 171   52     0K     8K CPU23  0   0:00 96.24% idle: cpu23
   29 root        1 171   52     0K     8K CPU13  d 284:04 93.95% idle: cpu13
   30 root        1 171   52     0K     8K CPU12  c 284:05 92.48% idle: cpu12
   33 root        1 171   52     0K     8K CPU9   9 283:52 92.48% idle: cpu9

show extension-provider system processes interface

The output for the show extension-provider system processes interface command is identical to that for the show extension-provider system processes command except that the output for the first is for the specified interface only and the output for the second is for all ms- interfaces. For sample output, see the show extension-provider system processes command.

show extension-provider system processes wide

The output for the show extension-provider system processes wide command is identical to that for the show extension-provider system processes command. For sample output, see the show extension-provider system processes command. To see how the wide option works, see the show extension-provider system processes wide detail command.

show extension-provider system processes wide detail

user@host> show extension-provider system processes wide detail
Interface: ms-0/2/0
  PID   UID  PPID CPU PRI NI   RSS WCHAN  STARTED  TT  STAT      TIME COMMAND          PROVIDER
   12     0     0   0 171  0     8 -       5:40PM  ??  RL     0:00.00 [idle: cpu30]
   20     0     0   0 171  0     8 -       5:40PM  ??  RL     0:00.00 [idle: cpu22]
   23     0     0   0 171  0     8 -       5:40PM  ??  RL     0:00.00 [idle: cpu19]
   21     0     0   0 171  0     8 -       5:40PM  ??  RL     0:00.00 [idle: cpu21]
   25     0     0   0 171  0     8 -       5:40PM  ??  RL     0:00.00 [idle: cpu17]
   11     0     0   0 171  0     8 -       5:40PM  ??  RL     0:00.00 [idle: cpu31]
   13     0     0   0 171  0     8 -       5:40PM  ??  RL     0:00.00 [idle: cpu29]
   14     0     0   0 171  0     8 -       5:40PM  ??  RL     0:00.36 [idle: cpu28]
   16     0     0   0 171  0     8 -       5:40PM  ??  RL     0:00.00 [idle: cpu26]
   17     0     0   0 171  0     8 -       5:40PM  ??  RL     0:00.00 [idle: cpu25]
   19     0     0   0 171  0     8 -       5:40PM  ??  RL     0:00.00 [idle: cpu23]
   24     0     0   0 171  0     8 -       5:40PM  ??  RL     0:00.00 [idle: cpu18]
   75     0     0   0 -16  0     8 -       5:40PM  ??  RL     0:00.00 [poller: cpu16]
   76     0     0   0 -16  0     8 -       5:40PM  ??  RL     0:00.00 [poller: cpu20]
   77     0     0   0 -16  0     8 -       5:40PM  ??  RL     0:00.00 [poller: cpu24]
   29     0     0   0 171  0     8 -       5:40PM  ??  RL   288:22.84 [idle: cpu13]
   15     0     0   0 171  0     8 -       5:40PM  ??  RL     0:00.00 [idle: cpu27]
   74     0     0   0 -16  0     8 -       5:40PM  ??  RL     0:00.00 [pot: cpu1]
   33     0     0   0 171  0     8 -       5:40PM  ??  RL   288:47.94 [idle: cpu9]
   30     0     0   0 171  0     8 -       5:40PM  ??  RL   287:07.79 [idle: cpu12]
   34     0     0   0 171  0     8 -       5:40PM  ??  RL   288:57.04 [idle: cpu8]
   37     0     0   0 171  0     8 -       5:40PM  ??  RL   288:01.05 [idle: cpu5]
   38     0     0   0 171  0     8 -       5:40PM  ??  RL   285:08.89 [idle: cpu4]
   42     0     0   0 171  0     8 -       5:40PM  ??  RL   281:47.55 [idle: cpu0]
    0     0     0   0 -16  0     0 -       5:40PM  ??  WLs    0:00.00 [swapper]        (null)
    1     0     0   0   8  0  1144 wait    5:40PM  ??  SLs    0:00.58 /sbin/init 
. . .

Return to top of page


show extension-provider system uptime

Syntax

show extension-provider system uptime

Release Information

Command introduced in JUNOS Release 9.1.

Description

Show uptime on the extension provider PIC. This command functions the same as the show system uptime command in the JUNOS System Basics and Services Command Reference.

Options

interface—(Optional) Name of the extension provider interface for which you want information.

Required Privilege Level

view

List of Sample Output

show extension-provider system uptime

show extension-provider system uptime interface

Output Fields

For a description of the output fields, see the Output Fields table for the show system uptime command in the JUNOS System Basics and Services Command Reference.

show extension-provider system uptime

user@host> show extension-provider system uptime
Interface: ms-0/0/0
11:20PM  up 48 mins, 0 users, load averages: 10.00, 10.04, 9.68
Interface: ms-0/2/0
11:20PM  up  5:40, 0 users, load averages: 4.00, 4.01, 4.00

show extension-provider system uptime interface

user@host> show extension-provider system uptime interface ms-0/2/0
Interface: ms-0/2/0
11:21PM  up  5:41, 0 users, load averages: 4.00, 4.01, 4.00

Return to top of page


show extension-provider system virtual-memory

Syntax

show extension-provider system virtual-memory
<interface>

Release Information

Command introduced in JUNOS Release 9.1.

Description

Show kernel dynamic memory usage on the extension provider PIC listed first by size of allocation and then by type of usage. This command functions the same as the show system virtual-memory command in the JUNOS System Basics and Services Command Reference.

Options

interface—(Optional) Name of the extension provider interface for which you want information.

Required Privilege Level

view

List of Sample Output

show extension-provider system virtual-memory

show extension-provider system virtual-memory interface

Output Fields

For a description of the output fields, see the following table. Output fields are listed in the approximate order in which they appear.

show extension-provider system virtual-memory Output Fields
Field Field Description
Interface Interface ID.
Size (unlabeled) Memory block size in bytes.
Type(s) (unlabeled) Kernel modules that are using the memory blocks. For a definition of each type, see a FreeBSD book.
interrupt Type of interrupt.
total Total number of interrupts for each type.
rate Interrupt rate
Total Total for all interrupts.

show extension-provider system virtual-memory

user@host> show extension-provider system virtual-memory
Interface: ms-0/0/0
   916976 cpu context switches
193097320 device interrupts
    43468 software interrupts
        0 traps
   199882 system calls
       78 kernel threads created
     2416  fork() calls
        0 vfork() calls
        0 rfork() calls
        0 swap pager pageins
        0 swap pager pages paged in
        0 swap pager pageouts
        0 swap pager pages paged out
     1307 vnode pager pageins
     1307 vnode pager pages paged in
        0 vnode pager pageouts
        0 vnode pager pages paged out
        0 page daemon wakeups
        0 pages examined by the page daemon
      454 pages reactivated
    54109 copy-on-write faults
       11 copy-on-write optimized faults
    65858 zero fill pages zeroed
    65190 zero fill pages prezeroed
       10 intransit blocking page faults
   206484 total VM faults taken
        0 pages affected by kernel thread creation
   102942 pages affected by  fork()
        0 pages affected by vfork()
        0 pages affected by rfork()
   144325 pages freed
        0 pages freed by daemon
   102373 pages freed by exiting processes
     1749 pages active
      317 pages inactive
       28 pages in VM cache
    38743 pages wired down
    51895 pages free
     4096 bytes per page
        0 swap pages used
        0 peak swap pages used
   109540 total name lookups
          cache hits (86% pos + 12% neg) system 0% per-directory
          deletions 0%, falsehits 0%, toolong 0%
interrupt                total       rate
clock                177515903      59689
Total                177515903      59689

show extension-provider system virtual-memory interface

user@host> show extension-provider system virtual-memory interface ms-0/2/0 
Interface: ms-0/2/0
  6971866 cpu context switches
757808764 device interrupts
   101858 software interrupts
        0 traps
  1129382 system calls
       80 kernel threads created
    15764  fork() calls
        0 vfork() calls
        0 rfork() calls
        0 swap pager pageins
        0 swap pager pages paged in
        0 swap pager pageouts
        0 swap pager pages paged out
     1212 vnode pager pageins
     1212 vnode pager pages paged in
        0 vnode pager pageouts
        0 vnode pager pages paged out
        0 page daemon wakeups
        0 pages examined by the page daemon
      420 pages reactivated
   354621 copy-on-write faults
        0 copy-on-write optimized faults
   430183 zero fill pages zeroed
   424776 zero fill pages prezeroed
     1434 intransit blocking page faults
  1332189 total VM faults taken
        0 pages affected by kernel thread creation
   648103 pages affected by  fork()
        0 pages affected by vfork()
        0 pages affected by rfork()
   892030 pages freed
        0 pages freed by daemon
   673820 pages freed by exiting processes
     1604 pages active
      309 pages inactive
        6 pages in VM cache
    39994 pages wired down
   117802 pages free
     4096 bytes per page
        0 swap pages used
        0 peak swap pages used
   702497 total name lookups
          cache hits (86% pos + 13% neg) system 0% per-directory
          deletions 0%, falsehits 0%, toolong 0%
interrupt                total       rate
clock                987886798      47811
Total                987886798      47811

Return to top of page


show interfaces redundancy

Syntax

show interfaces redundancy

Release Information

Support for the rms interface introduced in JUNOS Release 9.5.

Description

Display general information about the rms and ms interfaces redundancy.

Options

This command has no options.

Required Privilege Level

view

List of Sample Output

show interfaces redundancy

Output Fields

show interface redundancy

user@host> show interfaces redundancy 
Interface  State            Last change  Primary    Secondary  Current status
rms0       On primary       01:02:45     ms-0/0/0   ms-0/2/0   both up       

Return to top of page


show interfaces statistics

Syntax

show interfaces statistics interface-name <brief | detail | terse>

Release Information

Support for the rms interface introduced in JUNOS Release 9.5.

Description

Display interface statistics, such as packets received, packets transmitted, and errors.

Options

interface-name—Display statistics for the interface named.

<brief | detail | terse>—Provide the indicated level of detail in output.

Required Privilege Level

view

List of Sample Output

show interfaces statistics

show interfaces statistics brief

show interfaces statistics detail

show interfaces statistics terse

Output Fields

show interfaces statistics

[edit]
user@host> show interfaces statistics rms0 
Physical interface: rms0, Enabled, Physical link is Up
  Interface index: 158, SNMP ifIndex: 149
  Type: Adaptive-Services, Link-level type: Adaptive-Services, MTU: 1504,
  Speed: 1000mbps
  Device flags   : Present Running
  Interface flags: Point-To-Point SNMP-Traps Internal: 0x4000
  Link type      : Full-Duplex
  Link flags     : None
  Last flapped   : 2009-01-27 18:17:21 PST (16:29:12 ago)
  Input rate     : 0 bps (0 pps)
  Output rate    : 0 bps (0 pps)

  Logical interface rms0.1 (Index 74) (SNMP ifIndex 150) 
    Flags: Point-To-Point SNMP-Traps 0x4000 Encapsulation: Adaptive-Services
    Bandwidth: 800mbps
    Input packets : 0 
    Output packets: 0
    Protocol inet, MTU: 1504
      Flags: None
      Addresses, Flags: Is-Primary
        Local: 1.1.1.1

show interfaces statistics brief

[edit]
user@host> show interfaces statistics rms0 brief     
Physical interface: rms0, Enabled, Physical link is Up
  Type: Adaptive-Services, Link-level type: Adaptive-Services, MTU: 1504,
  Clocking: Unspecified, Speed: 1000mbps
  Device flags   : Present Running
  Interface flags: Point-To-Point SNMP-Traps Internal: 0x4000

  Logical interface rms0.1 
    Flags: Point-To-Point SNMP-Traps 0x4000 Encapsulation: Adaptive-Services
    inet  1.1.1.1          --> 0/0

show interfaces statistics detail

[edit]
user@host> show interfaces statistics rms0 detail    
Physical interface: rms0, Enabled, Physical link is Up
  Interface index: 158, SNMP ifIndex: 149, Generation: 168
  Type: Adaptive-Services, Link-level type: Adaptive-Services, MTU: 1504,
  Clocking: Unspecified, Speed: 1000mbps
  Device flags   : Present Running
  Interface flags: Point-To-Point SNMP-Traps Internal: 0x4000
  Link type      : Full-Duplex
  Link flags     : None
  Physical info  : Unspecified
  Hold-times     : Up 0 ms, Down 0 ms
  Current address: Unspecified, Hardware address: Unspecified
  Alternate link address: Unspecified
  Last flapped   : 2009-01-27 18:17:21 PST (16:29:22 ago)
  Statistics last cleared: 20-01-27 18:20:31 PST (16:26:12 ago)
  Traffic statistics:
   Input  bytes  :                    84000                0 bps
   Output bytes  :                    84000                0 bps
   Input  packets:                    1000                 0 pps
   Output packets:                    1000                 0 pps
   IPv6 transit statistics:
    Input  bytes  :                   0 
    Output bytes  :                   0
    Input  packets:                   0
    Output packets:                   0
  Input errors:
    Errors: 0, Drops: 0, Framing errors: 0, Runts: 0, Giants: 0, Policed discards: 0,
    Resource errors: 0
  Output errors:
    Carrier transitions: 0, Errors: 0, Drops: 0, MTU errors: 0, Resource errors: 0

  Logical interface rms0.1 (Index 74) (SNMP ifIndex 150) (Generation 143)
    Flags: Point-To-Point SNMP-Traps 0x4000 Encapsulation: Adaptive-Services
    Bandwidth: 800mbps
    Traffic statistics:
     Input  bytes  :                    84000
     Output bytes  :                    84000
     Input  packets:                    1000
     Output packets:                    1000
    Local statistics:
     Input  bytes  :                    0
     Output bytes  :                    0
     Input  packets:                    0
     Output packets:                    0
    Transit statistics:
     Input  bytes  :                    84000                0 bps
     Output bytes  :                    84000                0 bps
     Input  packets:                    1000                 0 pps
     Output packets:                    1000                 0 pps
    Protocol inet, MTU: 1504, Generation: 154, Route table: 0
      Flags: None   
      Addresses, Flags: Is-Primary
        Destination: Unspecified, Local: 1.1.1.1, Broadcast: Unspecified,
        Generation: 170

show interfaces statistics terse

[edit]
user@host> show interfaces statistics rms0 terse    
Interface               Admin Link Proto    Local                 Remote
rms0                    up    up  
rms0.1                  up    up   inet     1.1.1.1             --> 0/0

Return to top of page


show services stateful-firewall flows

Syntax

show services stateful-firewall flows
<interface interface-name> 

Release Information

Support of ms- interface introduced in JUNOS Release 9.5.

Description

Display stateful firewall flow table entries.

Options

interface interface-name—Name of interface.

Required Privilege Level

view

List of Sample Output

show services stateful-firewall flows

Output Fields

For a description of the output fields, see the following table. Output fields are listed in the approximate order in which they appear.

show services stateful-firewall flows Output Fields
Field Field Description
Interface Interface ID.
Service set Name of service set.
FlowProtocol used for the flow.
StateStatus of the flow.
DirDirection of the flow: input (I) or output (O).
Frm countNumber of frames in the flow.

show services stateful-firewall flows

user@host> show services stateful-firewall flows
Interface: ms-2/2/0, Service ser: sset1
Flow Stats Dir Frm count
TCP 192.1.1.2.37822 -> 192.2.1.2.21 Watch I 16
TCP 192.2.1.2.21 -> 192.1.1.2.37822 Watch O 13
TCP 192.1.1.2.37822 -> 192.2.1.2.40598 Unknown I 2
TCP 192.2.1.2.40598 -> 192.1.1.2.37822 Unknown O 1

Return to top of page


show services stateful-firewall statistics

Syntax

show services stateful-firewall statistics
<extensive>
<interface interface-name> 

Release Information

Support of ms- interface introduced in JUNOS Release 9.5.

Description

Display only rule statistics or rule and ALG statistics (the extensive options).

Options

extensivemdash;Display extensive output. Shows rule as well as ALG statistics. There are other statistics (IP/TCP/UDP/ICMP) that are not populated and show a value of 0. interface interface-name—Name of interface.

Required Privilege Level

view

List of Sample Output

show services stateful-firewall statistics

Output Fields

For a description of the output fields, see the following table. Output fields are listed in the approximate order in which they appear.

show services stateful-firewall statistics Output Fields
Field Field Description
Interface Interface ID.
Service set Name of service set.
AcceptNumber of flows accepted.
DiscardNumber of flows discarded.            
RejectNumber of flows rejected.
ErrorsNumber of errors.

show services stateful-firewall statistics

user@host> show services stateful-firewall statistics
Interface Service set Accept Discard Reject Errors
ms-5/1/0     sset1      1      1        0      0

Return to top of page


show system processes

Syntax

show system processes
<wide>

Release Information

Command introduced before JUNOS Release 7.4.
PROVIDER column introduced in wide option in JUNOS Release 9.0.

Description

Display information about software processes that are running on the router.

Options

wide—(Optional) Display process information that might be wider than 80 columns. This option shows the PROVIDER column.

Required Privilege Level

view

List of Sample Output

show system processes

show system processes wide

Output Fields

For a description of the output fields, see the Output Fields table for the show system processes command in the JUNOS System Basics and Services Command Reference.

show system processes

user@host> show system processes
     PID  TT  STAT      TIME COMMAND
   ...
       9  ??  DL     0:00.01 [pagedaemon]
   ...
    6463  ??  DL     0:00.18 [md9]
    6738  ??  S      0:00.44 /usr/sbin/mgd -N
    7001  ??  S      0:00.12 /opt/sbin/jnx-exampled -N
    7063  ??  Ss     0:00.03 mgd: (mgd) (regress)/dev/ttyp0 (mgd)

show system processes wide

user@host> show system processes wide
     PID  TT  STAT      TIME PROVIDER COMMAND
   ...
       9  ??  DL     0:00.01          [pagedaemon]
   ...
    6463  ??  DL     0:00.18          [md9]
    6738  ??  S      0:00.44          /usr/sbin/mgd -N
    7001  ??  S      0:00.12 jnx      /opt/sbin/jnx-exampled -N
    7063  ??  Ss     0:00.03          mgd: (mgd) (regress)/dev/ttyp0 (mgd)

Return to top of page


show system processes health

Syntax

show system processes health (process-name name | pid pid)

Release Information

Command introduced in JUNOS Release 9.0.

Description

Display the resource utilization (health) information about all processes or a specific process (identified by the process name or the process ID (PID). If multiple SDK processes are running on the router, the show system processes health command displays the health information for each by PID.

Options

process-name name—(Optional) Name of the process about which you want health information.

pid pid—(Optional) PID of the process about which you want health information.

Required Privilege Level

view

List of Sample Output

show system processes health

show system processes health pid

show system processes health process-name

Output Fields

For a description of the output fields, see the following table. Output fields are listed in the approximate order in which they appear.

show system processes health Output Fields
Field Name Field Description
PID Process ID, a number that identifies the process.
Provider Provider prefix. A string that identifies the provider of the SDK application.
Parent process Process ID of the process that spawned the process in question.
Child processes The one or more processes that are launched from the process in question.
  • Process ID for child process—Number that identifies the child process.
  • Name of child process—String that identifies the child process.
CPU accumulated Total amount of CPU time that has been utilized by the process.
Heartbeat Signal sent by the process to pmond to indicate the process is not hung.
  • Interval—Number of seconds between heartbeats.
  • Allowed misses—Number of missed heartbeats allowed before the application restarts.
  • Last seen—Time in seconds when last heartbeat occurred.
  • Total misses—Number of heartbeats missed so far.
Resource utilization How resources are divided up.
  • Area—Segment of memory.
  • Current—Current size of memory segment.
  • Max. allowed—Maximum size allowed for memory segment.
  • data size—Current and maximum sizes of data segment.
  • open files—Number of currently open files and the maximum allowed.
  • resident set size—Current and maximum sizes of resident set.
  • shared memory size—The amount of shared memory the process is using.
  • stack size—Current and maximum sizes of stack segment.

show system processes health

user@host> show system processes health
PID: 10075 (jnx-flow-mgmt)
Provider: jnx

Parent process: 1 (init)

CPU accumulated: 0 seconds

Resource utilization:
  Area                 Current  Max. allowed
  data size                7KB          32MB
  open files                20            64
  resident set size       12KB          24MB
  shared memory size       4KB
  stack size               2KB           8MB

PID: 420 (jnx-exampled)
 Provider: jnx
 Parent process: 1 (init)
 Child processes: 1
   PID   	Process name
   421  	jnx-exampled

CPU accumulated: 21 seconds

Heartbeat:
   Interval:       1s
   Allowed misses: 5
   Last seen:      1s ago (0 missed)
   Total misses:   2

Resource utilization:
  Area                 Current  Max. allowed
  data size               24KB          16MB
  open files              23           128
  resident set size     1532KB          24MB
  shared memory size      43KB
  stack size               8KB           8MB

show system processes health pid

The output for the show system processes health pid pid command is identical to that for the show system processes health command except that health information is displayed for only the process specified by the PID.

For sample output, see the show system processes health command.

show system processes health process-name

The output for the show system processes health process-name name command is identical to that for the show system processes health command except that health information is displayed for only the process named.

For example the show system processes health process-name jnx-exampled command displays health information only for jnx-exampled (PID 420). For sample output, see the show system processes health command.

Return to top of page


show system processes providers

Syntax

show system processes providers

Release Information

Command introduced in JUNOS Release 9.0.

Description

Display information about software processes that are running on the router. The output is similar to that of the show system processes extensive command but this command displays only provider processes (that is, only external processes). Also, this command's output has an extra column labeled PROVIDER to display the provider prefix.

Required Privilege Level

view

List of Sample Output

show system processes providers

Output Fields

Descriptions of output fields to be provided.

show system processes providers

user@host> show system processes providers
   last pid:  7014;  load averages:  0.19,  0.09,  0.05  up 0+00:57:29    12:54:45
   54 processes:  1 running, 53 sleeping

   Mem: 101M Active, 105M Inact, 31M Wired, 132M Cache, 69M Buf, 369M Free
   Swap: 1536M Total, 1536M Free

     PID USERNAME PROVIDER PRI NICE   SIZE    RES STATE    TIME   WCPU COMMAND
    7001 root     jnx       96    0  3240K  2700K select   0:00  0.00% jnx-exampled

Return to top of page


show system processes resource-limits process-name

Syntax

show system processes resource-limits process-name process-ui-name
<brief>
<detail>

Release Information

Command introduced in JUNOS Release 9.6.

Description

Display the resource limits of a process in an SDK package.

Required Privilege Level

view

List of Sample Output

show system processes resource-limits process-name

show system processes resource-limits process-name brief

show system processes resource-limits process-name detail

Output Fields

For a description of the output fields, see the following table. Output fields are listed in the approximate order in which they appear.

show system processes resource-limits process-name Output Fields
Field Name Field Description
Provider-ID A number that identifies the provider of the SDK application.
Provider-prefix A string that identifies the provider of the SDK application.
Area Segment of memory.
Max. allowed Current value of the limits applied in the kernel (effective limit).
Max. configurable Maximum value the administrator can set for the limit in the configuration.
cpu/priority Highest priority number (nice level) process can run at.
cpu/time Maximum amount of CPU time that can be accumulated.
file/core-size Maximum size of a file that can be created.
file/open Maximum number of simultaneous open files.
file/size Maximum size of a file that can be created.
memory/data size Maximum size of data segment.
memory/locked-in Maximum number of bytes that can be locked into memory.
memory/resident set size Maximum size of resident set.
memory/stack size Maximum size of stack segment.
memory/socket-buffers Maximum amount of physical memory that may be dedicated to the socket buffers.

show system processes resource-limits process-name

user@host> show system processes resource-limits process-name jnx-example-service

Resource Limits  
   Area                     Max. allowed     Max. configurable
   cpu/priority                       10                    10
   file/open                          16                    64
   memory/data-size                 32MB                  32MB 
   memory/locked-in                 16MB                  16MB
   memory/resident-set-size          8MB                  24MB
   memory/stack-size                 4MB                   8MB 

show system processes resource-limits process-name brief

The output for the show system processes resource-limits process-name jnx-example-service brief command is the same as for the show system processes resource-limits process-name jnx-example-service command.

show system processes resource-limits process-name detail

user@host> show system processes resource-limits process-name jnx-example-service detail

Provider-ID:     0x8000        
Provider-prefix: systest

Resource Limits  
   Area                     Max. allowed     Max. configurable
   cpu/priority                       10                    10
   cpu/time                    unlimited             unlimited
   file/size                   unlimited             unlimited      
   file/open                          16                    64 
   file/core-size              unlimited             unlimited
   memory/data-size                 32MB                  32MB
   memory/locked-in                 16MB                  16MB
   memory/resident-set-size          8MB                  24MB
   memory/stack-size                 4MB                   8MB
   memory/socket-buffers       unlimited             unlimited 

Return to top of page


show system resource-cleanup processes

Syntax

show system resource-cleanup processes (process-name name | pid pid)

Release Information

Command introduced in JUNOS Release 9.3.

Description

Display the list of processes that have registered for resource clean up services.

Required Privilege Level

view

List of Sample Output

show system resource-cleanup processes

show system resource-cleanup processes detail

show system resource-cleanup processes pid

show system resource-cleanup processes process-name

Output Fields

For a description of the output fields, see the following table. Output fields are listed in the approximate order in which they appear.

show system resource-cleanup processes Output Fields
Field Name Field Description
PID Process ID, a number that identifies the process.
Process name String that identifies the process.
Resources to clean Resources that have been registered to be cleaned up.

show system resource-cleanup processes

user@host> show system resource-cleanup processes
PID     Process name          Resources to clean
420     jnx-exampled          GENCFG, SYSV shared memory

show system resource-cleanup processes detail

user@host> show system resource-cleanup processes detail
PID     Process name          Resources to clean
420     jnx-exampled          GENCFG blob major ID 0x8000, minor ID 0x0000
                              SYSV shared memory ID 65536, key 1108955839
                              SYSV shared memory ID 65537, key 1108955837

show system resource-cleanup processes pid

The output for the show system resource-cleanup processes pid pid command is identical to that for the show system resource-cleanup processes command except that resource cleanup information is displayed for only the process specified by the PID.

For sample output, see the show system resource-cleanup processes command.

show system resource-cleanup processes process-name

The output for the show system resource-cleanup processes process-name name command is identical to that for the show system resource-cleanup processes command except that resource cleanup information is displayed for only the process named.

For sample output, see the show system resource-cleanup processes command.

Return to top of page


show version

Syntax

show version

Release Information

Command introduced in JUNOS Release 9.0.

Description

Display the hostname and version information of the software running on the router. For routers that have SDK application packages installed, the show version command lists those packages.

Required Privilege Level

view

List of Sample Output

Output Fields

For a description of the output fields, see the following table. Output fields are listed in the approximate order in which they appear.

show version Output Fields
Field Name Field Description
Hostname Router name.
Model Router model number.
listing Package contents installed.

show version

user@host> show version
Hostname: router1
Model: m10i
JUNOS Base OS boot [I20070611_2103]
JUNOS Base OS Software Suite [8.5I20070611_2103]  
JUNOS Kernel Software Suite [8.5I20070611_2103]
JUNOS Crypto Software Suite [8.5I20070611_2103]
JUNOS Packet Forwarding Engine Support (M/T Common) [8.5I20070611_2103]
JUNOS Packet Forwarding Engine Support (M7i/M10i) [8.5I20070611_2103]
JUNOS Online Documentation [8.5I20070611_2103]
JUNOS Routing Software Suite [8.5I20070611_2103]
JUNOS SDK Gateway Example Control Component [8.5I20070612_1932]     
JUNOS SDK Gateway Example Dataplane Component [8.5I20070612_1932]   
JUNOS SDK Gateway Example Management Component [8.5I20070612_1932]  

Return to top of page


See also:
SDK CLI Configuration

Guidelines for Configuring SDK Applications

Statement Summary

Configuration Command Summary


2007-2009 Juniper Networks, Inc. All rights reserved. The information contained herein is confidential information of Juniper Networks, Inc., and may not be used, disclosed, distributed, modified, or copied without the prior written consent of Juniper Networks, Inc. in an express license. This information is subject to change by Juniper Networks, Inc. Juniper Networks, the Juniper Networks logo, and JUNOS are registered trademarks of Juniper Networks, Inc. in the United States and other countries. All other trademarks, service marks, registered trademarks, or registered service marks are the property of their respective owners.
Generated on Sun May 30 20:26:47 2010 for Juniper Networks Partner Solution Development Platform JUNOS SDK 10.2R1 by Doxygen 1.4.5