PDA

View Full Version : Newbie linux multitasking question


JRPereira
02-24-2006, 09:33 PM
I have a fedora core 4 server that I'm looking to use as a game server. I can only ssh in, and it doesn't take me to a console where I can ctrl+alt+f# around.

What I want to know, is if there's some way to relegate game servers to being background tasks so I can browse around and do whatever management I want to do while the servers are still running.

I want to be able to switch back to them from time to time to monitor them and maybe change some settings from time to time.

I don't know if it's possible to set up the game servers as services, nor would I know how to pass commands them if they were set up that way.

JRPereira
02-24-2006, 09:59 PM
nevermind

Friend just introduced me to the screen command.

BillLeeLee
02-24-2006, 10:11 PM
If you run the program with the & appended to it, the process will run in the background. I take it you're running it the 'normal' way, which will terminate once your SSH session ends.

Example:
process &

hokatichenci
02-24-2006, 10:30 PM
Screen works but you could always use start-stop-daemon and some init script.

Whatsisname
02-25-2006, 11:50 AM
you can also have multiple SSH sessions