At 12:33 25-10-2001 +0200, you wrote:
>Is there a way for me to log performance data (CPU use, mem use etc.)? I
>can't watch 'top' 24/7 to see if the servers are really preforming
>better/worse.


#!/bin/bash
echo "***************************************" >> YourLogFile
date >> YourLogFile
nrcon YourServerIP Port YourPass status >> YourLogFile
top -b -n1 |grep hlds_run >> YourLogFile

This inserts the game status, date,time and then takes a grep from top and 
appends it to YourLogFile. You can see how many players, mem, cpu etc.

There are many other - perhaps better - ways to do this.

Best,

Kasper

_______________________________________________
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