LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 03-18-2004, 12:53 PM   #1
gauge73
Member
 
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, 01:34 PM   #2
kernel_mustard
LQ Newbie
 
Registered: Mar 2004
Posts: 15

Rep: Reputation: 0
most definately there is

install screen,
http://www.guckes.net/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, 01:37 PM   #3
tvn
Member
 
Registered: Mar 2004
Posts: 96

Rep: Reputation: 15
would screen do it ?
 
  


Reply


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 04:56 AM
CPU load -> process control? bobbens Debian 4 10-29-2004 02:43 PM
Process control...? kleptophobiac Linux - General 2 09-25-2004 11:03 AM
Diassociating process from control terminal beginner16 Programming 0 01-18-2004 10:02 AM
Regaining Process Control mikeyt_333 Linux - General 5 03-21-2002 03:21 PM


All times are GMT -5. The time now is 12:54 PM.

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