is it safe to say rcon stats shows a pretty accurate cpu usage?
the reason i asked is sometimes cpu usage is 10.0 and a couple seconds after
its over 50.0
i know it will fluctuate somewhat, just seems odd how it jumps all over the
place.

----- Original Message -----
From: "Alfred Reynolds" <[EMAIL PROTECTED]>


> Hlds grabs the CPU usage out of /proc/<pid of process>/stat
>
> It does a 5 second running average. I am not sure how "top" determines
> CPU usage.
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of
> > Britt Priddy (PZGN)
> > Sent: Saturday, February 28, 2004 1:17 PM
> > To: [EMAIL PROTECTED]
> > Subject: [hlds_linux] CPU junk
> >
> > Just noticed on one of our Intel P4 2.0ghz boxes - the rcon
> > stats does not
> > match what is shown in top
> >
> > ie  -
> >
> >  PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME COMMAND
> >  9710 tfladmin  20   0 58372  56M  5588 R    15.3  5.6   1:55
> > hlds_i686
> >
> > stats
> > CPU In Out Uptime Users FPS Players
> > 99.90 1.65 1.58 17 11 100.00 1
> >
> > pingboost -1 is being used.  Kernel recompiled with hz=1000
> >
> > TFC Server
> > With Metamod/StatsME loaded.


_______________________________________________
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