PDA

View Full Version : How run the unix clients in background mode ?



Dereckson
01-12-2003, 03:08 PM
Hello,

Is exists an option to run the freebsd and the linux client in background mode ?

Dereckson
01-14-2003, 11:45 AM
1) install screen, a terminal multiplexor with VT100/ANSI terminal emulation and so an utility to launch software in background and retrieve control later if needed
(debian : apt-get install screen / freebsd : the package is in directory misc/screen / others : http://www.gnu.org/software/screen/ )

2) screen -A -m -d -S foo ./sb sclient.conf
to retrieve the software : screen -r foo

N.B. foo is the name of application, you can name it 17 (I use that), SB, PrimeRulez, ...

alpha
01-14-2003, 12:17 PM
While you could use screen, it is a little unnecessary, and brings (very little, but still) overhead. You could just do:

$ ./sb sclient.conf >/dev/null 2>/dev/null &!

This will force it into the background and continue running when you logout. You could then just look at the log file to see how it is getting on.

magnav0x
03-05-2003, 05:00 PM
or if you wanted to do it the easy way....

$ ./sb sclient.conf &&



**edit*** Never mind that doesn't seem to work anymore with my distro. Guess it's a thing of the past.