Hacking CFMX - pulling it all together serverStats

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

Related Blog Entries

Comments
Erki Esken's Gravatar The donwload link doesn't work. I get "Sorry. There are no blog entries available that match your criteria" message.
# Posted By Erki Esken | 11/9/06 6:42 PM
Mark Lynch's Gravatar 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
# Posted By Mark Lynch | 11/9/06 7:04 PM
Erki Esken's Gravatar Yep, works. Thanks for sharing this.
# Posted By Erki Esken | 11/9/06 7:11 PM
Jeff gladnick's Gravatar Does this work in Bluedragon?
# Posted By Jeff gladnick | 11/10/06 3:58 AM
Mark Lynch's Gravatar 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
# Posted By Mark Lynch | 11/10/06 6:14 AM
Mark Lynch's Gravatar 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
# Posted By Mark Lynch | 11/10/06 10:29 AM
BlogCFC was created by Raymond Camden. This blog is running version 5.1.004.