0% found this document useful (0 votes)
647 views2 pages

PTX) How To Restart LCMD Running in The Linux

To restart the LCMD process running in the Linux base host of an MX or PTX router, one must first find the process ID (PID) of the running LCMD using the ps command. Then issue a kill -6 signal followed by the PID to terminate the existing LCMD process. Running ps again will show a new LCMD process starting with a different PID.

Uploaded by

Li Kang
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
647 views2 pages

PTX) How To Restart LCMD Running in The Linux

To restart the LCMD process running in the Linux base host of an MX or PTX router, one must first find the process ID (PID) of the running LCMD using the ps command. Then issue a kill -6 signal followed by the PID to terminate the existing LCMD process. Running ps again will show a new LCMD process starting with a different PID.

Uploaded by

Li Kang
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

[MX/PTX] How to restart LCMD running in the Linux base hos... https://kb.juniper.net/InfoCenter/index?page=content&id=KB...

user@router> start shell user root


Password:

root@router:/var/home/user # vhclient -s
Last login: Thu Oct 24 16:39:59 AEDT 2019 from router on pts/1
You have new mail.

root@router-node:~# ps aux | grep lcmd


root 21412 7.8 0.0 297024 10568 ? SLsl 16:43 0:06
lcmd <-- PID is 21412
root 27578 0.0 0.0 4412 504 pts/1 S+ 16:44 0:00
grep lcmd

root@router-node:~# kill -6 21412 <-- Put the PID captured in


step 3 here

第1页 共2页 2020/9/28 18:34


[MX/PTX] How to restart LCMD running in the Linux base hos... https://kb.juniper.net/InfoCenter/index?page=content&id=KB...

root@router-node:~# ps aux | grep lcmd


root 28713 30.9 0.0 297024 10476 ? SLsl 16:44 0:05
lcmd <-- New LCMD
root 30333 0.0 0.0 4412 504 pts/1 S+ 16:45 0:00
grep lcmd

第2页 共2页 2020/9/28 18:34

You might also like