Tech Blog

Hacking CFMX - pulling it all together serverStats

Posted At : November 9, 2006 12:06 PM 6 Comments

Can't wait for scorpio stats? Here is a very simple demo of the functionality I've demonstrated in some recents posts about hacking the underlying Java classes in CFMX.

Download Server stats

Screenshot of server stats page Pop it all in a web directory on your machine coldfusion server and is should give you enlightening stats about you machine. This code is released under the Common Public License 1.0.

Note: this code should not be used on shared servers as it gives access to areas you shouldn't have access to.

It could obviously do with some styling and feel free to dig around in the cfc's included to see how it all works.

Any improvements or suggestions let me know at mark at lynchconsulting.com.au

6 Comments

Erki Esken 11/9/06 6:42 PM

The donwload link doesn't work. I get "Sorry. There are no blog entries available that match your criteria" message.

Mark Lynch 11/9/06 7:04 PM

Should be fixed now - it was working when viewed from the front page of the blog but not from the direct entry page.

Thanks for letting me know.
Cheers,
Mark

Erki Esken 11/9/06 7:11 PM

Yep, works. Thanks for sharing this.

Jeff gladnick 11/10/06 3:58 AM

Does this work in Bluedragon?

Mark Lynch 11/10/06 6:14 AM

I haven't tested it on BlueDragon. BlueDragon is based on .Net isn't it? If so then this is unlikely to work as it is calling Java calls which won't exist in BlueDragon. If you've got a server with BlueDragon give it a shot and let me know.
Thanks
Mark

Mark Lynch 11/10/06 10:29 AM

Jeff has confirmed that it doesn't work on bd.net.

Does anyone have a BD.j2ee or BD jx install to test it out?

Cheers,
Mark