• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Chess Brain: Experimental internet accessible peernode monitor

Page 2 - Seeking answers? Join the AnandTech community: where nearly half-a-million members share solutions and discuss the latest tech.
well, you would have only seen the typo if a client hadn't checked in in days ;-)

I only found it when I ran it with perl -w
 
Thanks for setting up the latest version on my server, sciencewhiz 🙂

Anyone that wants to use my monitor, change the netmon= line in your cbspn.conf to netmon=coolkidsserver.no-ip.com and restart the client 🙂
 
Originally posted by: Confused
I seem to be doing all the .01 updates so far! 😉

I did the first two, now you've done the second two 😛

edit: Confused, after the clients have started doing work again, can you give me an idea of how much cpu time this uses?
 
Originally posted by: sciencewhiz
Originally posted by: Confused
I seem to be doing all the .01 updates so far! 😉

I did the first two, now you've done the second two 😛

edit: Confused, after the clients have started doing work again, can you give me an idea of how much cpu time this uses?

Oh yeah, so it has been! 🙂

Sure can let you know how much CPU time it uses 🙂


Garry
 
Aparently, if the second monitor isn't reachable, the peernode monitor stops working. I'll have to look at that later.

I may not have time to do any work on it until sometime next week, though.
 
It'll have been running for 2 days as of 4hrs time, so i'll take the CPU time it's used and divide by 2 to get a daily CPU usage (on my XP1800+ server)


Garry
 
2 hours seems like a lot. I guess I definetly will try to add a feature that only outputs the webpage at certain (user defined) intervals. However, I'm going to be gone for the weekend.
 
Well I would have had a time for you...if i hadn't knocked the box when I sat down and it reset itself 🙁

It should *crosses fingers* have had a day's worth of actual time tonight, so can give you a value for CPU time if you want 🙂


I think you mis-understood my last message, but I shall tell you exactly how much CPU time it has used tonight 🙂


Garry
 
OK, CPU usage results are in 🙂

It's been running 1 day 1 hour 14 mins, and has used a whopping:
.
..
...
....
.....
......
.....
....
...
..
.
<wait for it>
.
..
...
....
.....
......
.....
....
...
..
.
<keep going>
.
..
...
....
.....
......
.....
....
...
..
.
<don't you hate emails that go on like this>
.
..
...
....
.....
......
.....
....
...
..
.
<just a little more>
.
..
...
....
.....
......
.....
....
...
..
.
23 seconds


🙂 Which is pretty much naff all 🙂


Garry
 
Originally posted by: sciencewhiz
oh, hehe. You're right, I did misunderstand

Oh well! 🙂


Only thing I need to do is figure out why my fvcking server decides to restart every 2-3 days :| I think it's something to do with 2003 Server, as there's always some service that's failed to start when it turns on!

Looks like i'll be backing up and reinstalling when I get home from work
rolleye.gif


Then once i've got some stability, i'll think about doing some more updates to the monitor 🙂


Garry
 
I tried getting perl's sort function to work, but I don't think I understand it completely, especially since everything is stored in hash of arrays. I'm about to give up on that.

The next thing would be to get it to save the data so it can be restored when the peernode monitor is restarted. Coolkid suggested a mysql database, which would be nice, but I don't know mysql. Does anyone think it would be worth it enough for me to learn mysql (I don't mind, but it would take a while and delay other features) or just dump everything to a plaintext file?
 
Back
Top