Is there a server side commandline way to query a running hlds server as to number of 
players
and their pings?
maybe telnet to the server port and send whatever command?

I could scan the proces table for any running hlds
parse the output for the mods/ports/max players or consult the config files for same.
query the running servers for player numbers and ping
look at /proc/PROCESS# for performance stats
look at /proc/cpuinfo for hardware config.
look at /proc/loadaverage
rpm -qa |  awk '/gcc/{print}/kern/{print}' | sort

do performance samples for 5-10 minutes and normalize them

Then post the results to a webserver that stores it in a mysql database so that you 
can sort
and search on any key phrase.

Further updates::
    add data gather to cron and update your entries over time.


----- Original Message -----
From: "bad ping" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 29, 2003 11:27 PM
Subject: RE: [hlds_linux] The CPU usage issue.. what should I go with: Linux or Win32?


> In reply to:
>
> > I can't do much about the number of results (I've tried to make it as
> > easy as I could with that version checker thing) but tell me what you
> > want it to sort by and I'll make it happen.
>
> Troy, thank you very much for setting that up.  It's slick and very useful, it
> just needs a view all funtion and a sorter. And a ton of responsible, detailed
> submissions to it's database ;)
>
> It's important to set a standard, as in, are the numbers you're
> posting an average or a peak, how many iterations of the test etc.  In this
> case the variation of the open source model is working against us.  In return,
> it's forcing us all to learn some things about our systems that we might never
> have probed otherwise.  Hell, I got into computers this way.  I played Q2 one
> day almost 6 years ago, and I never got tired of figuring out how to make it
> better.  Games come and go, but being an admin is a way of life.
>
> Anyway...enough nostalgia.
>
> What would be really be the heat would be for a 1337 coder to design an HLDS
> server benchmarker.   Something with normalized results would be nice, with
> win32 and Linux/BSD distros.
>
> I bet Valve has a copy lying around the office somewhere :-/
>
> -BP
>
>
>
>
>
>
>
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives, please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlds_linux
>


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux

Reply via email to