看板 [ Linux ]
討論串[問題] switch to a process by PID
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓1(1推 0噓 3→)留言4則,0人參與, 最新作者fasthall (Xen)時間11年前 (2013/01/03 13:07), 編輯資訊
1
0
0
內容預覽:
請問一下今天我用了&讓一個process在背景執行. 然後我用ps查到了其PID. 那我有什麼方法讓shell的焦點回到那個process呢?. 我有查到jobs和fg可以切回去. 但是當我logout後再login回去時. jobs就看不到這個process了. 但是ps裡面它還是有在跑. --.

推噓1(1推 0噓 0→)留言1則,0人參與, 最新作者kdjf (我抓得到什麼呢?)時間11年前 (2013/01/04 00:03), 編輯資訊
0
0
4
內容預覽:
剛google了一下, attach detached process to terminal gdb. 己經寫好的程式: neercs,reptyr,retty(with glitches). http://blog.nelhage.com/2011/02/changing-ctty/. http
(還有144個字)
首頁
上一頁
1
下一頁
尾頁