how do i display server ip or server name...

I'm trying load balancing on wordpress.

how do i display server ip (preferably md5 hash display) or server name or some server information to check which server generated the resultant page? as a comment at the bottom of a html page

either with:
1. wordpress plugin
2. apache configuration
3. nginx configuration

Pls help.

Thx

Sam