NetTalk Central

Author Topic: Service and the Perfomance tab  (Read 1669 times)

Alberto

  • Hero Member
  • *****
  • Posts: 1848
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Service and the Perfomance tab
« 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
-----------
Regards
Alberto

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11191
    • View Profile
Re: Service and the Perfomance tab
« Reply #1 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

Alberto

  • Hero Member
  • *****
  • Posts: 1848
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Re: Service and the Perfomance tab
« Reply #2 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
-----------
Regards
Alberto

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11191
    • View Profile
Re: Service and the Perfomance tab
« Reply #3 on: May 11, 2014, 11:16:16 PM »
no. it would be
p_web.RequestData.Webserver.Performance.NumberOfRequests

Alberto

  • Hero Member
  • *****
  • Posts: 1848
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Re: Service and the Perfomance tab
« Reply #4 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?
-----------
Regards
Alberto

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11191
    • View Profile
Re: Service and the Perfomance tab
« Reply #5 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.