Purpose
Restart a JUNOS software process when you need to recover from an error condition
![]() |
Note: Never restart any of the software processes unless instructed to do so by a customer support engineer. |
To restart a JUNOS software process, follow these steps:
Display information about software processes to begin diagnosing an error condition.
To display information about the software processes that are running on the router, use the following JUNOS CLI operational mode command:
Sample Output
user@host>show system processes extensive last pid: 750; load averages: 0.00, 0.00, 0.00 up 0+00:58:50 18:34:17 52 processes: 1 running, 51 sleeping Mem: 50M Active, 19M Inact, 38M Wired, 264K Cache, 86M Buf, 642M Free Swap: 768M Total, 768M Free PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND 546 root 10 0 9096K 1720K nanslp 0:21 0.00% 0.00% chassisd 685 root 2 0 12716K 3840K kqread 0:01 0.00% 0.00% rpd 553 root 2 0 8792K 1544K select 0:01 0.00% 0.00% mib2d 552 root 2 0 8632K 1556K select 0:01 0.00% 0.00% snmpd 563 root 2 0 9316K 1564K select 0:00 0.00% 0.00% kmd 564 root 2 0 7736K 948K select 0:00 0.00% 0.00% fud 131 root 10 0 770M 25568K mfsidl 0:00 0.00% 0.00% newfs 547 root 2 0 7732K 888K select 0:00 0.00% 0.00% alarmd 545 root 2 0 10292K 2268K select 0:00 0.00% 0.00% dcd 550 root 2 -12 1308K 692K select 0:00 0.00% 0.00% ntpd 1 root 10 0 816K 520K wait 0:00 0.00% 0.00% init 750 root 32 0 21716K 828K RUN 0:00 0.00% 0.00% top 560 root 2 0 8208K 1088K select 0:00 0.00% 0.00% rmopd 561 root 2 0 8188K 1156K select 0:00 0.00% 0.00% cosd 559 root 2 0 1632K 840K select 0:00 0.00% 0.00% ilmid
Meaning
The sample output shows the central processing unit (CPU) utilization and lists the processes in order of CPU utilization.
Table 15 lists and describes the output fields included in the sample output for the show processes extensive command. The fields are listed in alphabetical order.
Table 15: Show System Processes Extensive Output Fields
For more details, see Verify the Routing Engine CPU Memory, and the JUNOS System Basics Configuration Guide.
Action
To restart a JUNOS software process, use the following JUNOS CLI operational mode command and include the process you wish to restart. For example:
Sample Output
user@host> restart routing
Routing protocol daemon started, pid 751
Meaning
The sample output shows that the routing protocol daemon was restarted and the process identification (PID) was changed from 685 in the previous sample output to 751.
Table 16 lists and describes the options available for the restart command.
Table 16: Options to Restart a JUNOS Software Process
After you have entered the restart command to restart a process, make sure that the process is up and running.
To check that a process has restarted, use the following JUNOS CLI operational mode command:
Sample Output 1
user@host> show system processes extensive last pid: 750; load averages: 0.00, 0.00, 0.00 up 0+00:58:50 18:34:17 52 processes: 1 running, 51 sleeping Mem: 50M Active, 19M Inact, 38M Wired, 264K Cache, 86M Buf, 642M Free Swap: 768M Total, 768M Free PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND 546 root 10 0 9096K 1720K nanslp 0:21 0.00% 0.00% chassisd 685 root 2 0 12716K 3840K kqread 0:01 0.00% 0.00% rpd 553 root 2 0 8792K 1544K select 0:01 0.00% 0.00% mib2d 552 root 2 0 8632K 1556K select 0:01 0.00% 0.00% snmpd 63 root 2 0 9316K 1564K select 0:00 0.00% 0.00% kmd 64 root 2 0 7736K 948K select 0:00 0.00% 0.00% fud 31 root 10 0 770M 25568K mfsidl 0:00 0.00% 0.00% newfs 47 root 2 0 7732K 888K select 0:00 0.00% 0.00% alarmd 45 root 2 0 10292K 2268K select 0:00 0.00% 0.00% dcd 50 root 2 -12 1308K 692K select 0:00 0.00% 0.00% ntpd 1 root 10 0 816K 520K wait 0:00 0.00% 0.00% init 50 root 32 0 21716K 828K RUN 0:00 0.00% 0.00% top 60 root 2 0 8208K 1088K select 0:00 0.00% 0.00% rmopd 61 root 2 0 8188K 1156K select 0:00 0.00% 0.00% cosd 59 root 2 0 1632K 840K select 0:00 0.00% 0.00% ilmid
Sample Output 2
user@host> show system processes extensive last pid: 758; load averages: 0.00, 0.00, 0.00 up 0+01:01:48 18:37:15 52 processes: 1 running, 51 sleeping Mem: 51M Active, 19M Inact, 38M Wired, 156K Cache, 86M Buf, 642M Free Swap: 768M Total, 768M Free PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND 546 root 10 0 9096K 1720K nanslp 0:22 0.05% 0.05% chassisd 553 root 2 0 8792K 1544K select 0:01 0.00% 0.00% mib2d 552 root 2 0 8632K 1556K select 0:01 0.00% 0.00% snmpd 563 root 2 0 9316K 1564K select 0:00 0.00% 0.00% kmd 564 root 2 0 7736K 948K select 0:00 0.00% 0.00% fud 131 root 10 0 770M 25568K mfsidl 0:00 0.00% 0.00% newfs 547 root 2 0 7732K 888K select 0:00 0.00% 0.00% alarmd 545 root 2 0 10292K 2268K select 0:00 0.00% 0.00% dcd 1 root 10 0 816K 520K wait 0:00 0.00% 0.00% init 550 root 2 -12 1308K 692K select 0:00 0.00% 0.00% ntpd 758 root 32 0 21716K 832K RUN 0:00 0.00% 0.00% top 560 root 2 0 8208K 1088K select 0:00 0.00% 0.00% rmopd 561 root 2 0 8188K 1156K select 0:00 0.00% 0.00% cosd 559 root 2 0 1632K 840K select 0:00 0.00% 0.00% ilmid 573 lab 2 0 7480K 2580K select 0:00 0.00% 0.00% cli 751 root 2 0 12716K 3944K kqread 0:00 0.00% 0.00% rpd 558 root 2 20 8708K 1880K select 0:00 0.00% 0.00% sampled 555 root 2 0 1856K 932K select 0:00 0.00% 0.00% vrrpd 686 root 2 0 7808K 940K select 0:00 0.00% 0.00% apsd
Meaning
The sample output shows that the routing protocol process (rpd) was restarted because the process identifier (PID) of the process was renamed from 685, as shown in the Sample Output 1, to 751 as shown in Sample Output 2.