Koozali.org: home of the SME Server

Applications running

Der Robe

Applications running
« on: November 21, 2002, 04:24:42 AM »
I want to be able to start a linux program via and ssh shell and when I turn of the computer with ssh running off.  I want to have the applicatiuon still running on the server with out closing out.  How do I do this and how do I re-access it once this is accomplish this.

Andrei

Re: Applications running
« Reply #1 on: November 21, 2002, 08:40:58 AM »
Are you saying you would like to resart the server while it is turned off?

Der Robe

Re: Applications running
« Reply #2 on: November 21, 2002, 03:42:24 PM »
Basically here is my problem I have a program named overnet that is like kazaa or winmx.  That can run on my linux server through command line codes.  I do not have a monitor or keyboard hooked up to my e-smith load workstation so I access the server remotely with an ssh shell.  I install the program successfully.  I can launch and run the program using an ssh shell.  I would like to be able to run it on the server and close out the ssh shell and turn off my win xp machine that i use to access the server and still have the program running on the server and the next time I boot up my XP box and access SSH I want to be able to view the running version of Overnet.  

It is kinda hard to explain.  Mainly I want to be able to launch overnet via a ssh window.  Then close out the ssh window and shut down my xp machine and still have the program running on the server.  Then later be able to turn back on my XP machine and log in to a SSH shell and be able to access the already running program and see the status of downloads and uploads and make changes by adding or removing files then be able to shut down the XP machine again and continue repeating  the process of monitoring.  And all ways have this computer running any downloads or uploads that have been request kind of in a behind the sceens thing unless I acces it.

I really hope you understand what I am trying to do I dont know how to explain it any other way.

Arkman

Re: Applications running
« Reply #3 on: November 21, 2002, 07:45:57 PM »
I'm not familiar with overnet, but the way you are hoping/wanting the app to work should be exactly the way it is working. Have you tested it? Start the program logout and log back in. Is it still running? I would think it is.
Do a 'ps ax |more' and see if there is task running called something like overnet, or similar.

Ad

Re: Applications running
« Reply #4 on: November 23, 2002, 12:10:49 AM »
Just start the application with an space and an ampersand ( & ) added on the line:

application &

This way it will stay running when you log off.