That information isn't going to be readily available over sockets...your client can't just access this information. You'd need some sort of server side component to gather the diagnostics and send them on.
Have a look at xymon
], which is exactly this.
You install a service on the target server. It gathers all the data and attempts to send it on to another server, a 'monitoring server' if you like, where all the data can be displayed,
We actually use this in our business for our machines, very useful to quickly display all your server stats on a single web page. :)
Or, you could write some sort service that your client connects to and allows you to run the query on the remote machine..either way, you're going to need a piece of software on the server.