Metamod: Cpu Stat Plugin
prodigy
Join Date: 2002-11-01 Member: 3180Members
<div class="IPBDescription">Load Avg/CPU Use/Entity Count/Server FPS</div> <b>PLUGIN UPDATED TO VERSION 1.01 SUNDAY APRIL 27, 2003</b>
<img src='http://modNS.org/images/cpustat_003_sm.jpg' border='0' alt='user posted image'>
<a href='http://forums.modns.org/viewtopic.php?t=141' target='_blank'>http://forums.modns.org/viewtopic.php?t=141</a>
This plugin has been updated.
<img src='http://modNS.org/images/cpustat_003_sm.jpg' border='0' alt='user posted image'>
<a href='http://forums.modns.org/viewtopic.php?t=141' target='_blank'>http://forums.modns.org/viewtopic.php?t=141</a>
This plugin has been updated.
Comments
Roo
<!--emo&::siege::--><img src='http://www.unknownworlds.com/forums/html/emoticons/siege.gif' border='0' style='vertical-align:middle' alt='siege.gif'><!--endemo--> Ability to have it print to the screen using regular font, rather than the autohelp.
<!--emo&::siege::--><img src='http://www.unknownworlds.com/forums/html/emoticons/siege.gif' border='0' style='vertical-align:middle' alt='siege.gif'><!--endemo--> Protection of the /cpu command
<!--emo&::siege::--><img src='http://www.unknownworlds.com/forums/html/emoticons/siege.gif' border='0' style='vertical-align:middle' alt='siege.gif'><!--endemo--> Optimzed startFrame() function quite a bit
<!--emo&::siege::--><img src='http://www.unknownworlds.com/forums/html/emoticons/siege.gif' border='0' style='vertical-align:middle' alt='siege.gif'><!--endemo--> Optimized binaries for P4 users
I should have a release of this out later today. I'm currently working on a bug involving the /cpu command protection, if I can't resolve it in the next few minutes, I'll simply create a cvar for storing a list of WONID's who will be able to access the /cpu say comamnd.
I added everything I said I would, and even included some nice P4 optimized binaries. As usual please let me know if you find any bugs.
I actually put my plugin to good use tonight. I happened upon a P4 3.06, so running kernel 2.5.68 did some testing (thanks to the guys in #nsserver, #nsradio, and #naturalselection who helped out, and all the guys on the redphive.org server). 45% cpu on ns_hera after about an hour with a peak of 22 users. Considering a p4 2.0Ghz can't even handle 16 players on this same map, I was impressed, although the 3.06 cost me $785 Cdn heh, quite a bit more than P4 2.0 thats for sure, but with its hyperthreading, i'm sure it will find a use doing something SMP aware at some point.
Any ways enough babbling!