UNIX Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsUNIX Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
AT&T devCentral & BlackBerry(r) Webcast Series: BlackBerry and GPS -Build Location Awareness into your BlackBerry Applications, July 10th-1:00PM EST. Register Today!
  #1  
Old February 3rd, 2005, 02:25 AM
Konstandinos Konstandinos is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2004
Location: Cape Town, South Africa
Posts: 131 Konstandinos User rank is Corporal (100 - 500 Reputation Level)Konstandinos User rank is Corporal (100 - 500 Reputation Level)Konstandinos User rank is Corporal (100 - 500 Reputation Level)Konstandinos User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 22 h 40 m 25 sec
Reputation Power: 6
Deamonised process issue.

Hi,

Is there any way to re-attach a deamonised process to the foreground?

Cheers,
K.

Reply With Quote
  #2  
Old February 5th, 2005, 05:43 AM
guggach guggach is offline
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jul 2004
Location: Middle Europa
Posts: 1,078 guggach User rank is Corporal (100 - 500 Reputation Level)guggach User rank is Corporal (100 - 500 Reputation Level)guggach User rank is Corporal (100 - 500 Reputation Level)guggach User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 4 Days 14 h 28 m 26 sec
Reputation Power: 9
Quote:
Originally Posted by Konstandinos
Hi,

Is there any way to re-attach a deamonised process to the foreground?

Cheers,
K.



assumed you entered
find / >/tmp/qqq &
this is a background proc
entering ^Z (i mean ctrl Z) you are able to (not stop, but) halt it
now the cmd 'fg' will bring it in foreground
read man pages for your shell

Reply With Quote
  #3  
Old February 5th, 2005, 06:45 AM
zlutovsky zlutovsky is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Location: Prague, Czech Rep.
Posts: 116 zlutovsky User rank is Corporal (100 - 500 Reputation Level)zlutovsky User rank is Corporal (100 - 500 Reputation Level)zlutovsky User rank is Corporal (100 - 500 Reputation Level)zlutovsky User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 22 h 34 sec
Reputation Power: 6
Daemonized process is such a process that gave up its controlling terminal. It got a "stepfather" - the init process (PID=1). I think, it is not possible to bring it to my terminal I am working with.

If I send a process into the background, it is still connected to my terminal and can be brought in foreground as says gugach.

Correct me if I am wrong.

Regards zlutovsky

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsUNIX Help > Deamonised process issue.


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway