--
[ Picked text/plain from multipart/alternative ]
[2. CS:Source Linux PID's Changing (Matt Ogborne)]
Howdy,
The screen session is called 'CS_SOURCE_PUBLIC', the exact line used to
start the screen session is:
screen -dmS CS_SOURCE_PUBLIC ./srcds_run -game cstrike -autoupdate +map
de_dust2 +maxplayers 56 -port 27018 -tickrate 33 +fps_max 150
The screen PID stays constant.
When running 'ps -ef' on the command line it returns, this for the screen
session:
user 4223 1 0 Nov01 ?00:00:12 SCREEN -dmS CS_SOURCE_PUBLIC
./srcds_run -game cstrike -autoupdate [truncated]
And this for the actual PID, which is the game server (this is the one that
is changing! At this time its currently PID 18097):
user 18097 4224 25 Nov06 pts/105:22:08 ./srcds_amd -game cstrike
-autoupdate [truncated]
I created a file called 'cron' and entered this into it:
ps -ef | grep screen | grep CS_SOURCE_PUBLIC | grep -v grep | awk '( print
$2 )' counterstrike.pid
However when the file is ran, this comes back in the console:
XXX.XXX.XXX.XXX [user: ~/cron ]$ ./cron
awk: line 1: syntax error at or near print
XXX.XXX.XXX.XXX [user: ~/cron ]$
Its created the file called 'counterstrike.pid' although its empty and
hasn't found the PID.
What I did notice is that the PPID colum after running 'ps -ef' was the
screen PID, so if we looked for the PPID for 4224 (The master PID of the
screen) and then took the PID, that shoudl work??
Matt
On 07/11/2007, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
Send hlds_linux mailing list submissions to
hlds_linux@list.valvesoftware.com
To subscribe or unsubscribe via the World Wide Web, visit
http://list.valvesoftware.com/mailman/listinfo/hlds_linux
or, via email, send a message with subject or body 'help' to
[EMAIL PROTECTED]
You can reach the person managing the list at
[EMAIL PROTECTED]
When replying, please edit your Subject line so it is more specific
than Re: Contents of hlds_linux digest...
Today's Topics:
1. Re: Running TF2 server on P3 hardware in Linux (bad bone weight)
please confirm (Kennycom)
2. CS:Source Linux PID's Changing (Matt Ogborne)
3. Re: CS:Source Linux PID's Changing (Dan E)
4. Re: CS:Source Linux PID's Changing (LouLou Bizou)
5. Re: Running TF2 server on P3 hardware in Linux (bad
bone weight) please confirm (Oliver Salzburg)
6. RE: CS:Source Linux PID's Changing (Miano, Steven M.)
--__--__--
Message: 1
From: Kennycom [EMAIL PROTECTED]
To: hlds_linux@list.valvesoftware.com
Subject: Re: [hlds_linux] Running TF2 server on P3 hardware in Linux (bad
bone weight) please confirm
Date: Tue, 6 Nov 2007 12:31:39 -0800
Reply-To: hlds_linux@list.valvesoftware.com
As to what exactly the problem is I don't recall a definitive answer.. but
yes for the time being your P3 and some (allot) of the AMD cpu's are out
of
luck. I ended up building a new system with an Xeon E5335 (was running a
LAN
server with an athlon XP2800) and life is good again.
--kennycom
- Original Message -
From: Some Llama [EMAIL PROTECTED]
To: hlds_linux@list.valvesoftware.com
Sent: Tuesday, November 06, 2007 11:35 AM
Subject: [hlds_linux] Running TF2 server on P3 hardware in Linux (bad bone
weight) please confirm
--
[ Picked text/plain from multipart/alternative ]
Hey All,
So I have a P3 linux server I run CS:S on and thought i'd dedicate it to
TF2, read through some of the old postings to his mailing list and it
looks
like the P3 doesn't support some processor function the newer TF2 engine
needs in order to run on Linux?
Is that correct? Can someone please confirm?
I'm getting the bad bone weights messages along with the errors at the end
of the debug.log but looking through the postings it looks like the
conversation died off after talk of support for FCMOV?
Thanks for your time.
llama
--
___
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux
--__--__--
Message: 2
Date: Wed, 7 Nov 2007 03:19:25 +
From: Matt Ogborne [EMAIL PROTECTED]
To: hlds_linux@list.valvesoftware.com
Subject: [hlds_linux] CS:Source Linux PID's Changing
Reply-To: hlds_linux@list.valvesoftware.com
--
[ Picked text/plain from multipart/alternative ]
Howdy,
Long time reader, first post, so pls be gentle :-)
Until recently the PID (process ID) for a CS:S server running used to stay
the same, thus using taskset in Linux, we were able to set the process to
run on a specific CPU core.
However recently (about ~3-4weeks ago) the PID randomly changes, as in
when
the game server is started its say PID 4223, go back to it a day later and
its then 5823, go back a day later again and its a different PID.
This is kinda of annoying now, as with quad core CPU's coming down in
price,
the ability to fix a process (a game server