PDA

View Full Version : Can you start two instances on Linux with dual core cpu



NicColt
06-18-2007, 10:29 PM
Download the client here
http://www.seventeenorbust.com/download/

mkdir sob
cd sob
tar -xvfz sb250-Linux.tar.tz
edit the sbclient.conf file and make sure the following is used

ServerAddress sb.pns.net
ServerPort 1717

Username crankytech

Team 60 (assuming you want Free-DC)
LogFile sclient.log
LogToConsole 1
MaxLogSize 100
PriorityLevel 5
# 1 - Enable
# 0 - Disable
Transmit 1
MaxReportRetries 0
MaxRetries 0
RetryWait 1200

Save sclient.conf, then type the following
./sb
It should take right off.

I'll be adding a news system on the weekend wich will be the 5200+ dual core but I was just wondering if you can have two instances running like you do in windows. Anyone know ?

IronBits
06-18-2007, 11:26 PM
It should automatically detect both processors and take right off. :thumbs:

tqft
06-19-2007, 04:39 AM
I actually run 3 on my dual core - one to pick up the slack when one is talking to the server.

If you aren't using gnome, I am sure there are similar commands you can use

I have this in a file sb.sh on my desktop - don't forget to mark it executable after creating it

gnome-terminal --working-directory=/home/ian/sb --command="./sb sclient.conf" --title=sb

then this in sb2.sh on my desktop
gnome-terminal --working-directory=/home/ian/sb2 --command="./sb sclient.conf" --title=sb2

I leave it as an exercise for the reader to work out what is sb3.sh.

Double click each one after system restart and logging in.

NicColt
06-19-2007, 07:00 PM
but I still have to start one instance in directory SOB and create directory SOB2 and start it there also right ?

tqft
06-20-2007, 01:15 AM
One directory for each instance - you need to edit each sclient.conf in each directory unless you do the setup once and copy the files including the sclient.conf to the new dir(s).

NicColt
06-20-2007, 06:51 PM
wow thanks alot this is great. I'll try that out this weekend.

NicColt
06-24-2007, 03:52 PM
I got it going but I don't see the client like I do in windows I just see the logfile ?

tqft
06-24-2007, 08:21 PM
I miss it the little windows with ticking numbers too (honestly I do - love watching numbers tick by on occassion - me like roullette?) but logfile in window is all you get by default - I believe there is an app somewhere that sniffs the logfile and makes a pretty window of it - but I have never got that fussed about it.

NicColt
06-24-2007, 09:07 PM
thanks tqft I didn't know :)