NetTalk Central

Author Topic: Performance Monitor Values  (Read 4339 times)

RayA

  • Newbie
  • *
  • Posts: 43
    • View Profile
    • My Web Site
    • Email
Performance Monitor Values
« on: March 14, 2012, 09:59:47 AM »
Is there a way to get the values of the performance monitor and display them on a  net web page or net form. 

Ray Abadie
Lafayette, La.

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Performance Monitor Values
« Reply #1 on: March 14, 2012, 11:41:29 PM »
yes.
I'm thinking an example of that might be handy.

They're just properties of the server object, and hence are accessible to the p_web object. So it's just a Form with those items displayed as Display fields.

cheers
Bruce

RayA

  • Newbie
  • *
  • Posts: 43
    • View Profile
    • My Web Site
    • Email
Re: Performance Monitor Values
« Reply #2 on: March 14, 2012, 11:53:17 PM »
A example of that would really be great and useful .....

Thanks Bruce ...

charl99

  • Full Member
  • ***
  • Posts: 185
    • View Profile
    • Email
Re: Performance Monitor Values
« Reply #3 on: May 28, 2012, 05:05:39 AM »
I tried to do this, but p_web.gsv('wp:NumberOfRequests') gives me nothing.

Is it possible to give just one example in terms of code and not words, please?

"They're just properties of the server object, and hence are accessible to the p_web object." is like Greek to me  ;D

Thanks
Charl


Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Performance Monitor Values
« Reply #4 on: May 28, 2012, 10:10:52 PM »
I've added a form, called "performance" to the Calculator (34) example in build 6.32.
You can probably just import this procedure straight into your application (although you may want to rename it, or add security levels etc.)

cheers
Bruce

charl99

  • Full Member
  • ***
  • Posts: 185
    • View Profile
    • Email
Re: Performance Monitor Values
« Reply #5 on: May 29, 2012, 02:00:42 AM »
Cool, I will wait for the update then.

Thanks