[mrtg] Re: Monitoring W2K and SQL server service

Davey.Rance at sungard.com Davey.Rance at sungard.com
Mon Nov 11 20:09:37 MET 2002


you should be able to do this via wmi.

here is a script that will do what you want.

First change the script extension to .vbs

Then to call it from MRTG use the following line.

`cscript //nologo c:\mrtg\bin\process.vbs Myserver explorer`

and that will return the values for PeakVirtual memory used and peakvirtual memory used.  Change Myserver for you servername and explorer for the name of the process that you wish to get the memory of.

Let me know if you have any problems.

Davey Rance


-- Attached file removed by Ecartis and put at URL below --
-- Type: text/plain
-- Desc: Process.txt
-- Size: 663 bytes
-- URL : http://www.ee.ethz.ch/~slist/pantomime/Process.txt


--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list