switch to a process by PID - Linux

By Belly
at 2013-01-04T00:03
at 2013-01-04T00:03
Table of Contents
剛google了一下, attach detached process to terminal gdb
己經寫好的程式: neercs,reptyr,retty(with glitches)
http://blog.nelhage.com/2011/02/changing-ctty/
http://caca.zoy.org/wiki/neercs
http://blog.habets.pp.se/2009/03/Moving-a-process-to-another-terminal
minimun working, without job control: close(), open(), dup2()
http://superuser.com/questions/221407/attaching-a-process-to-a-terminal-in-linux
※ 引述《fasthall (Xen)》之銘言:
: 標題: [問題] switch to a process by PID
: 時間: Thu Jan 3 13:07:01 2013
:
: 請問一下今天我用了&讓一個process在背景執行
:
: 然後我用ps查到了其PID
:
: 那我有什麼方法讓shell的焦點回到那個process呢?
:
: 我有查到jobs和fg可以切回去
:
: 但是當我logout後再login回去時
:
: jobs就看不到這個process了
:
: 但是ps裡面它還是有在跑
:
: --
己經寫好的程式: neercs,reptyr,retty(with glitches)
http://blog.nelhage.com/2011/02/changing-ctty/
http://caca.zoy.org/wiki/neercs
http://blog.habets.pp.se/2009/03/Moving-a-process-to-another-terminal
minimun working, without job control: close(), open(), dup2()
http://superuser.com/questions/221407/attaching-a-process-to-a-terminal-in-linux
※ 引述《fasthall (Xen)》之銘言:
: 標題: [問題] switch to a process by PID
: 時間: Thu Jan 3 13:07:01 2013
:
: 請問一下今天我用了&讓一個process在背景執行
:
: 然後我用ps查到了其PID
:
: 那我有什麼方法讓shell的焦點回到那個process呢?
:
: 我有查到jobs和fg可以切回去
:
: 但是當我logout後再login回去時
:
: jobs就看不到這個process了
:
: 但是ps裡面它還是有在跑
:
: --
Tags:
Linux
All Comments

By Noah
at 2013-01-06T18:55
at 2013-01-06T18:55
Related Posts
很奇怪的更新現象

By Victoria
at 2013-01-03T19:22
at 2013-01-03T19:22
switch to a process by PID

By Michael
at 2013-01-03T13:07
at 2013-01-03T13:07
跑UBUNTU的自組NAS

By Selena
at 2013-01-03T10:55
at 2013-01-03T10:55
Canonical 宣佈 Ubuntu 智慧型手機系統

By Daph Bay
at 2013-01-03T03:11
at 2013-01-03T03:11
Centos預設Python如何救回

By Yedda
at 2013-01-02T15:48
at 2013-01-02T15:48