NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Alberto on May 10, 2014, 06:12:49 AM

Title: Service and the Perfomance tab
Post by: Alberto on May 10, 2014, 06:12:49 AM
Hi,
Running a server as a Service you loose the window, then you loose the perfomance info.
Is there any way to save that info to a file or to have a Perfomance memory form inside the site ?
Thanks
Title: Re: Service and the Perfomance tab
Post by: Bruce on May 11, 2014, 05:57:48 AM
yes, one of the examples shows the performance data on a web page - but off the top of my head I don't recall which one it is.
They're just variables, so displaying them on a form is fairly easy.

cheers
Bruce
Title: Re: Service and the Perfomance tab
Post by: Alberto on May 11, 2014, 07:42:21 AM
Ok in the WebServer proc we have this vars as local vars inside a group

For example : NumberOfRequests

IN a memory form, may I refert to it as

p_web.gsv('NumberOfRequests')  ?

Thanks
Title: Re: Service and the Perfomance tab
Post by: Bruce on May 11, 2014, 11:16:16 PM
no. it would be
p_web.RequestData.Webserver.Performance.NumberOfRequests
Title: Re: Service and the Perfomance tab
Post by: Alberto on May 12, 2014, 02:43:12 AM
ok  thanks
any way to refresh a memory from with a timer?
to see these values changing like its seen in the perfomance tab?
Title: Re: Service and the Perfomance tab
Post by: Bruce on May 12, 2014, 05:31:09 AM
you don't want to do that. Rather refresh the page when you want to see an update.