Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

Application Execution

Application execution includes the following topics. For more information on system processes, see the Junos OS Administration Library for Routing Devices.

Verifying the Execution Status of System Processes

To see the execution status of system processes, use the show system processes wide operational command. The wide option is optional, but you must use it to display the provider name of your application.

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)

Disabling a System Process

You can disable Junos OS processes.

Caution: Never disable any of the software processes unless instructed to do so by a Customer Support engineer.

To disable a software process:

  1. Specify the appropriate process to disable at the [edit system] hierarchy level using the processes statement.
    [edit system]user@router# set processes process-name disable
  2. You can later go back and similarly enable the process.
    [edit system]user@router# set processes process-name enable

Tip: The process-name variable is one of the valid process names. You can obtain a complete list of process names by using the CLI command completion feature.

Configuring Application Failure Settings

For routers or switches with redundant Routing Engines, you can configure the router or switch to switch to backup media that contains a version of the system if a software process fails repeatedly. You can configure the router or switch to fail over to either backup media or the other Routing Engine. When you configure a failover option, the router will try to reboot a few times (within one minute) before going to the failover option you specify.

To configure automatic switchover to backup media if a software process fails:

  • Include the failover statement at the [edit system processes process-name] hierarchy level:
    [edit system]user@router# set process-name failover (alternate-media | other-routing-engine)

Tip: The process-name variable is one of the valid process names. You can obtain a complete list of process names by using the CLI command completion feature.

Published: 2013-08-16

Supported Platforms

Published: 2013-08-16