Re: Configuring instances/app directly in SiteConfig.xml

Hsu <[email protected]> Tue, 20 Jul 2004 05:45:26 -0700
Newsgroups gmane.comp.web.webobjects.admin
Message-ID <[email protected]>
> I think we can get some information about instances with wotask, but I 
> couldn't find how to do it, for exemple:

I assume that you mean directly from the SiteConfig.xml?


> -getting the list of running instances

If wotaskd is set to generate the WOConfig.xml, this should have a list 
of running instances.

> -getting the list of dead/crashed instances

This would be the list of instances minus the list of running instances 
:)

> -getting the memory usage of an instance
> -getting the CPU usage of an instance

Sorry.

> -getting the port number of an instance

Yes.

> basically to know what is on/off and display these information in a 
> Web Application.
> I think I've seen something like that with grep, but maybe I'm wrong. 
> Anyway I don't know exactly how to get to these informations:(

You can use Monitor...

> We've also got some problems when we use Monitor after modifying 
> directly the xml file (we stop Monitor before modifying):

Unless you stop wotaskd, this won't work at all. Monitor never writes 
at all.

Karl

--

THIS SIG INTENTIONALLY LEFT BLANK

Homepage:
      http://homepage.mac.com/khsu/index.html