This topic has been archived. It cannot be replied.
-
工作学习 / IT技术讨论 / SCO unix shell下面,能不能有什么方法把一个正在运行的程序变成台后不中断运行?(就是nohup xxxxx &)
-oceandeep(北极熊·湖州粽子);
2004-6-21
(#1773545@0)
-
There are so many good programmers in this forum. I dare not to say anything any longer. Keep waiting I am sure you will get an good solution. Or just check a command name d*
-pleased(please);
2004-6-21
(#1773598@0)
-
恐怕等不住了:(,还有15分钟下班了,估计要把laptop开着放抽屉了,赫赫
-oceandeep(北极熊·湖州粽子);
2004-6-21
(#1773608@0)
-
should be no way. at leas i don't know any.
-pasu(InTheSky);
2004-6-21
(#1773617@0)
-
我也不知道如何做,但也不知道有没有‘路’:)
-oceandeep(北极熊·湖州粽子);
2004-6-21
(#1773632@0)
-
下次直接扔后台吧
-ice(二牛);
2004-6-21
(#1773657@0)
-
I would use ^z ; bg in bash
-packet(hello);
2004-6-21
(#1773717@0)
-
stopped?
-ice(我是排骨我怕谁?);
2004-6-21
(#1773741@0)
-
ctl-z; bgfg [jobId] ;
if you want to make it front ground again
-eagle_no1(瞎起哄);
2004-6-21
{57}
(#1773707@0)
-
it is different between "nohup xxx &" and use CTRL-Z and bg.
-647i(aaaa);
2004-6-21
{877}
(#1774167@0)
-
agree ! #1773765 #1774114 ; could you find the command to block the singal to the running process?
-eagle_no1(瞎起哄);
2004-6-21
(#1774179@0)
-
晚了,晚了,都回到家了:P,下次知道用ctrl-z了,谢谢2位
-oceandeep(北极熊·湖州粽子);
2004-6-21
(#1773724@0)
-
1)"ctrl-z" make the process suspend; 2) "bg"; resume it on the background; it's two steps actually;
-eagle_no1(瞎起哄);
2004-6-21
(#1773729@0)
-
when you log out, even background job will quit unless you put nohup.
-pasu(InTheSky);
2004-6-21
(#1773731@0)
-
啊哦,看样子,不确定多久完成的,直接nohup掉了:(
-oceandeep(北极熊·湖州粽子);
2004-6-21
(#1773734@0)
-
then you got to stop it and restart with nohup xxx &, hehe. I usually use "at -f xxx now".
-pasu(InTheSky);
2004-6-21
(#1773737@0)
-
fxxx? 脏话!
-eglington(eglington);
2004-6-21
(#1773997@0)
-
别想了,去看眼科吧,呵呵那么大一个空格都看不到,你严重斗鸡眼啊
-pasu(InTheSky);
2004-6-21
{38}
(#1774053@0)
-
tried it just now and I made it! just add step 3) nohup [pid];
-eagle_no1(瞎起哄);
2004-6-21
{1240}
(#1773765@0)
-
what unix?
-pasu(InTheSky);
2004-6-21
(#1774067@0)
-
I tried it on linux, I beleave it works on sco unix also..
-eagle_no1(瞎起哄);
2004-6-21
(#1774071@0)
-
unfortunately, it's not the case.
-pasu(InTheSky);
2004-6-21
(#1774100@0)
-
wait a moment ....:-(( I tried it on soliras, it looks like not all unix (unix alike ) system support such command. but I feeling is that there should be some command like nohup, taking pid instead of process name , to block the ternimal signal...
who knows..
-eagle_no1(瞎起哄);
2004-6-21
{247}
(#1774114@0)
-
do u have Solaris at home?
-647i(aaaa);
2004-6-21
(#1774181@0)
-
I can connect to the company's network from home. btw, I didn't try "nohup -p [pid]" in the above post, thx for your info.
-eagle_no1(瞎起哄);
2004-6-21
(#1774186@0)
-
nohup pid is available to Solairs Unix but not for Linux. I'll check the nohup syntax on AIX tomorrow.
-647i(aaaa);
2004-6-21
{42}
(#1774178@0)
-
it works on linux for sure. (#1774071
-eagle_no1(瞎起哄);
2004-6-21
(#1774183@0)
-
Yes. it works on Linux. But, the usage "nohup pid" is not in 'man nohup'.
-647i(aaaa);
2004-6-22
(#1774208@0)
-
讨论这么激烈啊,好,好,好,今天我都试试:)
-oceandeep(北极熊·湖州粽子);
2004-6-22
(#1774330@0)