简体   繁体   中英

How to attach an running process to an existing screen in linux

I wish to debug a process which is already running using screen command. Is there a way by which i can attach my running process with (some PID) to an existing screen (screen_name) ?

No, you can not use screen to debug a process running as daemon. If you would want to debug a process, shut off the daemon mode and run it in screen. and use

screen -rd {screen_ID}

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM