The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Running RSH on the background eamani_sun Shell Programming and Scripting 2 06-02-2008 01:37 PM
Parameters and background gio001 UNIX for Dummies Questions & Answers 8 11-14-2007 05:18 PM
background process jerardfjay Shell Programming and Scripting 1 09-07-2005 11:03 AM
Background job rdbooth UNIX for Dummies Questions & Answers 1 03-23-2004 07:59 AM
background job joerg UNIX for Dummies Questions & Answers 3 09-05-2003 03:33 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 05-25-2005
babayeve babayeve is offline
Registered User
  
 

Join Date: Aug 2002
Location: azerbaijan
Posts: 11
background job

on gnome i open a terminal and run wget http://soommmething & in the background. because wget shows me downloading progress percentage and download speed continuously, I exit the gnome-terminal

after a while i want to see the download percentage but dont know how. my ps -u myname shows that wget is running

ps -u emilb | grep wget

4178 ? 00:00:01 wget

so my tty is ? now. how can assing this process to a terminal so that i can see its output.

this is of course not a problem handicaping my work or anything but I want to know just out of curiosity

thanks
emil babayev
  #2 (permalink)  
Old 05-25-2005
blowtorch's Avatar
blowtorch blowtorch is offline Forum Advisor  
Supporter
  
 

Join Date: Dec 2004
Location: Singapore
Posts: 2,350
Emil,

I dont think that is possible. Once a process loses its controlling terminal, you can no longer see the output that it would be sending to that terminal. A workaround would be to redirect the stdout and stderr to a file and view the file later.
  #3 (permalink)  
Old 05-25-2005
vgersh99's Avatar
vgersh99 vgersh99 is online now Forum Staff  
Moderator
  
 

Join Date: Feb 2005
Location: Boston, MA
Posts: 5,119
Quote:
Originally Posted by blowtorch
Emil,

I dont think that is possible. Once a process loses its controlling terminal, you can no longer see the output that it would be sending to that terminal. A workaround would be to redirect the stdout and stderr to a file and view the file later.
.... or 'nohup' the process and 'tail -f nohup.out'
  #4 (permalink)  
Old 05-25-2005
babayeve babayeve is offline
Registered User
  
 

Join Date: Aug 2002
Location: azerbaijan
Posts: 11
thanks everybody. it was actually not a problem for me. as you said, i can redirect the output. I just wondered if it was possible or not.

thanks anyway.

bye.
Closed Thread

Bookmarks

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 09:21 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0