show system applications (Junos OS Evolved)
Syntax
show system applications <app app-name> <brief> <detail> <error> <node node-name>
Description
This command displays application summary information in one of the following forms:
-
Shows all application summary information for all nodes.
-
Shows the application summary information for a specific application.
-
Shows the application summary information for a specific node.
On ACX7000 series of routers, when an application restarts for more than three times in a five-minute window, then the application and its dependent applications goes into a failure state. The reason for an application restart could be anything like an application crash, restart of other dependent applications, Routing Engine switchover, CLI induced restart, et cetera.
If an application goes into a failed state, then you need to manually recover the application by using the following CLI command:
user@host> restart app-name
You can use the show system applications command to check the status of
all the applications.
You can use the following shell command to understand the reason for an application failure:
user@host:/etc/systemd/system# systemctl status app-name
The following sample output helps you to understand the reason for the evo-pfemand application failure:
user@host:/etc/systemd/system# systemctl status evo-pfemand
x evo-pfemand.service - "Evo Merchant Silicon PFE Manager Daemon"
Loaded: loaded (/etc/systemd/system/evo-pfemand.service; static)
Active: failed (Result: signal) since Mon 2024-09-23 22:27:13 PDT; 53min ago
Process: 32689 ExecStartPre=/usr/sbin/evo-pfemand_prestart.sh (code=exited, status=0/SUCCESS)
Process: 32698 ExecStart=/usr/sbin/evo-pfemand_start.sh evo-pfemand (code=killed, signal=KILL)
Process: 2827 ExecStopPost=/usr/sbin/evo-pfemand_poststop.sh evo-pfemand (code=exited, status=0/SUCCESS)
Main PID: 32698 (code=killed, signal=KILL)
Sep 23 22:27:13 host systemd[1]: evo-pfemand.service: Converting job evo-pfemand.service/restart -> evo-pfemand.service/start
Sep 23 22:27:13 host systemd[1]: evo-pfemand.service: Start request repeated too quickly.
Sep 23 22:27:13 host systemd[1]: evo-pfemand.service: Failed with result 'signal'.
Sep 23 22:27:13 host systemd[1]: evo-pfemand.service: Service restart not allowed.The output shows that the evo-pfemand application has failed and the reason is that the application has hit the start limit. In this case, you will need to manually restart the evo-pfemand application by using the following command:
user@host> restart evo-pfemand
To know how to use shell commands on Junos OS Evolved, see Shell Commands for Junos OS Evolved.
Options
app app-name |
(Optional) Specify application name for which you want to display application summary information. |
brief |
(Optional) Display brief output. This is the default format of display. |
detail |
(Optional) Display detailed output. |
error |
(Optional) Display information about errors. You can specify the app,
node, and detail options at the same time to further
refine the list of errors, and to get more information about each one. |
node node-name |
(Optional) Specify node name for which you want to display application summary information. |
Required Privilege Level
view
Output Fields
For a description of the output fields, see Table 1. Output fields are listed in the approximate order in which they appear.
|
Field Name |
Description |
Level |
||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
|
all options, except |
||||||||||||||||||||
|
|
|
all options, except |
||||||||||||||||||||
|
|
A short description of the application, it also lists the
|
|
||||||||||||||||||||
|
|
A |
|
||||||||||||||||||||
|
|
A |
|
||||||||||||||||||||
|
|
Process identifier (PID) of the application. |
|
||||||||||||||||||||
|
|
Command line to launch the application. |
|
||||||||||||||||||||
|
|
Name of the application. |
|
||||||||||||||||||||
|
|
Meta data for the application includes the following fields:
|
|
||||||||||||||||||||
|
|
Resource data for the application includes the following fields:
|
|
||||||||||||||||||||
|
|
Failure data for the application includes the following fields:
|
|
||||||||||||||||||||
|
|
Upgrade data for the application includes the following fields:
|
|
||||||||||||||||||||
|
|
App-Exit data for the application includes the following fields:
|
|
||||||||||||||||||||
|
|
Name of the node the application is running on. |
|
||||||||||||||||||||
|
|
Name of the application. |
|
||||||||||||||||||||
|
|
How many errors are on the node for the stated application. |
|
||||||||||||||||||||
|
|
Identifiers for particular error instances. |
|
||||||||||||||||||||
|
|
Identifier for a particular type of error. For example, number 3 is for the error "No such process". |
|
||||||||||||||||||||
|
|
How severe the error is. |
|
||||||||||||||||||||
|
|
Identifier for a particular error instance. |
|
||||||||||||||||||||
|
|
Text describing the error. |
|
||||||||||||||||||||
|
|
The module causing the error. |
|
||||||||||||||||||||
|
|
Name of the object causing the error. |
|
||||||||||||||||||||
|
|
Name of the object's parent. |
|
||||||||||||||||||||
|
|
Date and time at which the error occurred. |
|
Sample Output
- show system applications
- show system applications error
- show system applications error node node-name
- show system applications error app application-name
- show system applications app application-name node node-name
- show system applications app application-name detail
- show system applications error app application-name detail
- show system applications error app application-name node node-name detail
show system applications
user@host> show system applications Applications Information: Application : bcmd_evo Node : fpc0 App State : offline Object Producer details Producer ID : 0 Epoch ID : 0 Applications Information: Application : ccdpfe Node : fpc0 App State : online Object Producer details Producer ID : 576 Epoch ID : 65 Production Topic : /Root/fpc0/ccdpfe/100143551468101228 Producer State : active Applications Information: Application : cmdd Node : fpc0 App State : online Object Producer details Producer ID : 570 Epoch ID : 66 Production Topic : /Root/fpc0/cmdd/1099227235289688912 Producer State : active ... Applications Information: Application : alarm-mgmtd Node : re0 App State : online Object Producer details Producer ID : 26 Epoch ID : 1 Production Topic : /Root/alarm-mgmtd/2988563069668674039 Producer State : active Applications Information: Application : alarmd Node : re0 App State : online Object Producer details Producer ID : 377 Epoch ID : 30 Production Topic : /Root/alarmd/6512784671716237713 Producer State : active Applications Information: Application : arpd Node : re0 App State : online Object Producer details Producer ID : 396 Epoch ID : 41 Production Topic : /Root/arpd/14284058728950342139 Producer State : active ... Applications Information: Application : alarm-mgmtd Node : re1 App State : online Object Producer details Producer ID : 26 Epoch ID : 0 Production Topic : /Root/alarm-mgmtd/2988563069668674039 Producer State : standby Applications Information: Application : bcmd_evo Node : re1 App State : offline Object Producer details Producer ID : 0 Epoch ID : 0 Applications Information: Application : charonctl Node : re1 App State : online Object Producer details Producer ID : 25 Epoch ID : 4 Production Topic : /Root/re1/charonctl/10854553120394604032 Producer State : active ...
show system applications error
{master}
user@host-re0> show system applications error
Error Summary:
Node : fpc0
Application : evo-aftmand-bt
Error Count : 3
Error Guids:
1249835833539
1249835833540
1249835833541
Error Summary:
Node : re0
Application : rpdagent
Error Count : 3
Error Guids:
1249835833539
1249835833540
1249835833541
show system applications error node node-name
user@host-re0> show system applications error node fpc0
Error Summary:
Node : fpc0
Application : evo-aftmand-bt
Error Count : 3
Error Guids:
1249835833539
1249835833540
1249835833541
show system applications error app application-name
user@host-re0> show system applications error app rpdagent
Error Summary:
Node : re0
Application : rpdagent
Error Count : 3
Error Guids:
1249835833539
1249835833540
1249835833541
show system applications app application-name node node-name
user@host> show system applications app alarm-mgmtd node re1 Applications Information: Application : alarm-mgmtd Node : re1 App State : online Object Producer details Producer ID : 26 Epoch ID : 0 Production Topic : /Root/alarm-mgmtd/2988563069668674039 Producer State : standby
show system applications app application-name detail
user@host> show system applications app cmdd detail Applications Information: Application : cmdd Node : re0 App State : online ready App Weight : 1 App Zookeeper Session : 1000000934d000d Object Producer details Producer ID : 50331736 Epoch ID : 47 Production Topic : /Root/re0/cmdd/3158206796014561683 Producer State : active Description : cmdd.service - "Command Daemon" Loaded : loaded (/etc/systemd/system/cmdd.service;static;vendor preset:enabled) Run State from OS : active (running) (Result: success) since Mon 2018-10-29 05:02:24 PDT Main PID : 5814 Command : /usr/sbin/cmdd --app-name cmdd -I object_select --shared-objects-mode 3 App Config Info ID : cmdd Meta Bin path : /usr/sbin/cmdd Log file : /var/log Working Dir : /usr/sbin Production Set : local Sysman Managed : true Type Evo : true Resource All nodes : true Max instances : 1 Max instances per node: 1 App Suite : default,diags_default Run on startup : true Node attributes : (Node attribute match : *, Service file : cmdd) Failure Alarm color : red Restart Node : false Mark node spare : false Upgrade Upgrade parallely : true Upgrade restart node : false Upgrade style : stop-start App-Exit Restart Supported : true Restart Node : false Mark node spare : false
show system applications error app application-name detail
user@host-re0> show system applications error app rpdagent detail Error detail: Node : re0 Application : rpdagent Error Number : 3 Severity : FATAL GUID : 1249835833539 Error Description : No such process Error Module : CHASSIS0:FPC0 Error Object Name : proto: ipv4 prefix: 10.35.1.1 Error Object Parent Name : Type:RtTable : default.inet Error Timestamp : Thu Aug 18 03:54:34 2022 Node : re0 Application : rpdagent Error Number : 3 Severity : FATAL GUID : 1249835833540 Error Description : No such process Error Module : CHASSIS0:FPC0 Error Object Name : proto: ipv4 prefix: 10.35.1.2 Error Object Parent Name : Type:RtTable : default.inet Error Timestamp : Thu Aug 18 03:54:34 2022 Node : re0 Application : rpdagent Error Number : 3 Severity : FATAL GUID : 1249835833541 Error Description : No such process Error Module : CHASSIS0:FPC0 Error Object Name : proto: ipv4 prefix: 10.35.1.3 Error Object Parent Name : Type:RtTable : default.inet Error Timestamp : Thu Aug 18 03:54:34 2022
show system applications error app application-name node node-name detail
{master}
user@host-re0> show system applications error app evo-aftmand-bt node fpc1 detail
Error detail:
Node : fpc1
Application : evo-aftmand-bt
Error Number : 1001
Severity : FATAL
GUID : 1151051261231
Error Description : Generic failure
Error Module : FPC:1/pfe/rt
Error Object Name : proto: ipv4 prefix: 10.32.1.1
Error Object Parent Name : Type:RtTable : default.inet
Release Information
Command introduced in Junos OS Evolved Release 18.3R1.
error option added in Junos OS Evolved Release 22.3R1.