Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-18-2004, 11:53 AM   #1
Registered: Jan 2003
Location: Dallas, TX
Distribution: Fedora Core 4
Posts: 420

Rep: Reputation: 30
Quick process control question

I run a text-based gnutella client on my Linux server at home, and I use SSH to control this from elsewhere. However, I cannot get the process to continue running when I close SSH. Is there any way that I can do the following?

1) Log into SSH
2) Somehow gain control of the gnutella client process
3) Somehow put the gnutella client process in the background
4) Log off SSH without closing the gnutella client

I've had nohup suggested to me, but it doesn't output to the terminal, so I can't easily use the interface. Clearly, I can't just use bg to put the client in the background and then log off. Is there any way to accomplish what I'm trying to do?
Old 03-18-2004, 12:34 PM   #2
LQ Newbie
Registered: Mar 2004
Posts: 15

Rep: Reputation: 0
most definately there is

install screen,
run like screen -A -m -d -S <gnutella client>
then when you want to view what is going on in that session, type screen -r
to detach it from the screen again, hit ctrl-a, followed by d

more details in the man file.

this is what i use to detach my counter-strike server from my ssh session, then close the ssh connection.
Old 03-18-2004, 12:37 PM   #3
Registered: Mar 2004
Posts: 96

Rep: Reputation: 15
would screen do it ?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Version Control Systems -Quick Review frankie_DJ Programming 6 10-06-2005 03:56 AM
CPU load -> process control? bobbens Debian 4 10-29-2004 01:43 PM
Process control...? kleptophobiac Linux - General 2 09-25-2004 10:03 AM
Diassociating process from control terminal beginner16 Programming 0 01-18-2004 09:02 AM
Regaining Process Control mikeyt_333 Linux - General 5 03-21-2002 02:21 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:31 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration