my ms sql is on a remote windows machine , I need to display %cpu , memory ,disk space from a java web application mounted on weblogic residing on Linux operating system.
So here we have interaction between windows and Linux. The point to note is that from Linux we need to pull this % cpu , memory ,disk space of a ms sql database residing on windows os.
My bad .. I completely missed the windows part ... The information you seek can be obtained on windows machine programatically but I am sure there are much better ways that other experts can point to.
Basically you would need a setup where you execute psList on windows machine and transfer the output to Linux machine. Again there could be multiple ways of doing it. There can be a script on windows machine that executes psList, redirects output to a file and then scp the file to Linux machine.
Is there any simple way actually the windows box where this ms sql database resides is a production database very critical And I dont want to mess around with it. Also if i use psList it who would trigger it and then all its output needs to be transfered to a text file and then again ftp needs to be done of this text file from windows to linux. Please suggest a simple ways. This is going to be complicated.
Could you vnc to the windows machine or is that too much overhead? I think TightVNC might be your solution. www.tightvnc.com/download.html There are VNC programs for both windows and Linux.
if the windows box has a web server on it, you could put a script on the website to return the parameters you want. If snmp is enabled on the server you could query snmp for the values also.