Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

show system applications

 

Syntax

Release Information

Command introduced in Junos OS Evolved Release 18.3R1.

Description

Display applications summary information in one of the following forms:

  • Show all applications summary information for all nodes.

  • Show the applications summary information for a specific application.

  • Show the applications summary information for a specific node.

Options

app app-name(Optional) Specify application name for which you want to display applications summary information.
brief(Optional) Display brief output. This is the default format of display.
detail(Optional) Display detailed output.
node node-name(Optional) Specify node name for which you want to display applications summary information.

Required Privilege Level

view

List of Sample Output

show system applications

show system applications app application-name node node-name

show system applications node node-name detail

Output Fields

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

Table 1: show system applications Output Fields

Field Name

Description

Level

Applications Information

ApplicationName of the application.
NodeName of the node the application is running on.
App StateState of the application: online, offline, failed, or active.
App WeightA relative weight for multiple instances of the app across multiple nodes. The app instance with the higher wright is providing more functionality.
App Zookeeper SessionZeekeeper session ID.

all levels

Object Producer details

Producer IDIdentifies which production set the object is part of.
Epoch IDA number that identifies the current process that owns a production set. There can only be one owning process (active producer) that owns a production set at one time. The current owning process has an Epoch ID that is larger than any previous producer.
Production TopicHierarchical string that represents the production set.
Producer Stateactive or standby:
  • active indicates the application has production rights to modify the state in the production set.

  • standy means that the application is waiting to get the production right for the production set.

all levels

Description

A short description of the application, it also lists the systemd service file used for the application.

detail

Loaded

A systemd state that indicates if the application is loaded in the system or not.

detail

Run State from OS

A systemd state that indicates if the application is active or not.

detail

Main PID

Process identifier (PID) of the application.

detail

Command

Command line to launch the application.

detail

ID

Name of the application.

detail

Meta

Meta data for the application includes the following fields:

Bin pathPath to application execution.
Log fileWhere logs go.
Working DirWorking directory.
Production SetGlobal or local production set. Values might be shared or local.

detail

Resource

Resource data for the application includes the following fields:

all nodesIs the application run on all nodes, true or false.
Max instancesHow many instances of the application are there.
Max instances per nodeHow many instances of the application per node are there.
Run on startupIs the appliction launched at bootup, true or false.
Node attributesTypical node attributes are RE, FPC, MasterRE. You can see the node attributes by using the show system node-attributes command.
Node attribute matchWhat is the node attribute required to launch this application on a node? For example, if this field has the output re, Service file: lfmd, it indicates that the process lfmd will be launched on a node that has the attribute RE.

detail

Failure

Failure data for the application includes the following fields:

Alarm colorWhich alarm to be raised on failure, or none.
Alarm IDThe alarm ID.
RestartWhether to restart the application, true or false.

detail

Upgrade

Upgrade parallelyOptions are true or false.
Upgrade restart nodeOptions are true or false.
Upgrade styleOption is stop-start.

detail

App-Exit

App-Exit data for the application includes the following fields:

Restart SupportedTrue/false. When the apllication exits, should the application be restarted.
Restart NodeTrue/false. When the apllication exits, should the node be rebooted.
Mark node spareWhen an application exits, should the node be marked spare.

detail

Sample Output

show system applications

user@host> show system applications

show system applications app application-name node node-name

user@host> show system applications app alarm-mgmtd node re1

show system applications node node-name detail

user@host> show system applications app cmdd detail