<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://opensimulator.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://opensimulator.org/index.php?action=history&amp;feed=atom&amp;title=User%3ADz%2FSimStats</id>
		<title>User:Dz/SimStats - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://opensimulator.org/index.php?action=history&amp;feed=atom&amp;title=User%3ADz%2FSimStats"/>
		<link rel="alternate" type="text/html" href="http://opensimulator.org/index.php?title=User:Dz/SimStats&amp;action=history"/>
		<updated>2026-05-11T07:43:39Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.19.9</generator>

	<entry>
		<id>http://opensimulator.org/index.php?title=User:Dz/SimStats&amp;diff=52734&amp;oldid=prev</id>
		<title>Dz: /* The script */</title>
		<link rel="alternate" type="text/html" href="http://opensimulator.org/index.php?title=User:Dz/SimStats&amp;diff=52734&amp;oldid=prev"/>
				<updated>2022-07-01T16:55:41Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;The script&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 16:55, 1 July 2022&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 19:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 19:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;//&amp;#160; OpenSim Region Statistics display&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;//&amp;#160; OpenSim Region Statistics display&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;// &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Doug &lt;/del&gt;Osborn&amp;#160;  MOSES grid&amp;#160;  9/2014&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;// &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;D &lt;/ins&gt;Osborn&amp;#160;  MOSES grid&amp;#160;  9/2014&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;// Copyright (c) 2014, 2015 Douglas Osborn&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;// Copyright (c) 2014, 2015 Douglas Osborn&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;// All rights reserved.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;// All rights reserved.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Dz</name></author>	</entry>

	<entry>
		<id>http://opensimulator.org/index.php?title=User:Dz/SimStats&amp;diff=41227&amp;oldid=prev</id>
		<title>Dz: /* MOAP Region Statistics Display */</title>
		<link rel="alternate" type="text/html" href="http://opensimulator.org/index.php?title=User:Dz/SimStats&amp;diff=41227&amp;oldid=prev"/>
				<updated>2015-09-02T02:13:41Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;MOAP Region Statistics Display&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 02:13, 2 September 2015&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 3:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 3:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;This script proved useful during sim performance tests on the MOSES grid.&amp;#160; &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;This script proved useful during sim performance tests on the MOSES grid.&amp;#160; &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;It uses a call to osGetRegionStats to build a small HTML page that it feeds to a MOAP Display.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;It uses a call to osGetRegionStats to build a small HTML page that it feeds to a MOAP Display. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; The HTML is designed to be displayed at a resolution of 1024x2048.&amp;#160; Size your display board appropriately to avoid distorted text&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;As with all OpenSimian projects posted here,&amp;#160; You are free to copy/modify/and IMPROVE the functionality to fit your needs.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;As with all OpenSimian projects posted here,&amp;#160; You are free to copy/modify/and IMPROVE the functionality to fit your needs.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Dz</name></author>	</entry>

	<entry>
		<id>http://opensimulator.org/index.php?title=User:Dz/SimStats&amp;diff=41226&amp;oldid=prev</id>
		<title>Dz: Created page with &quot;== MOAP Region Statistics Display ==  This script proved useful during sim performance tests on the MOSES grid.    It uses a call to osGetRegionStats to build a small HTML pag...&quot;</title>
		<link rel="alternate" type="text/html" href="http://opensimulator.org/index.php?title=User:Dz/SimStats&amp;diff=41226&amp;oldid=prev"/>
				<updated>2015-09-02T02:10:14Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;== MOAP Region Statistics Display ==  This script proved useful during sim performance tests on the MOSES grid.    It uses a call to osGetRegionStats to build a small HTML pag...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== MOAP Region Statistics Display ==&lt;br /&gt;
&lt;br /&gt;
This script proved useful during sim performance tests on the MOSES grid.  &lt;br /&gt;
&lt;br /&gt;
It uses a call to osGetRegionStats to build a small HTML page that it feeds to a MOAP Display.&lt;br /&gt;
&lt;br /&gt;
As with all OpenSimian projects posted here,  You are free to copy/modify/and IMPROVE the functionality to fit your needs.&lt;br /&gt;
&lt;br /&gt;
If you have feedback on script errors,  please post it to the page discussion [[User_talk:Dz/SimStats]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== The script ===&lt;br /&gt;
&lt;br /&gt;
The script currently includes a hard coded TextureUUID to load as the default image.  You will need to replace that UUID with one local to your grid and appropriate to your purpose.  &lt;br /&gt;
&lt;br /&gt;
Read the comments for information about use and distribution..&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang = &amp;quot;lsl&amp;quot;&amp;gt;&lt;br /&gt;
//  OpenSim Region Statistics display&lt;br /&gt;
&lt;br /&gt;
// Doug Osborn   MOSES grid   9/2014&lt;br /&gt;
// Copyright (c) 2014, 2015 Douglas Osborn&lt;br /&gt;
// All rights reserved.&lt;br /&gt;
&lt;br /&gt;
// Redistribution and use in source and binary forms, with or without&lt;br /&gt;
// modification, are permitted provided that the following conditions are met:&lt;br /&gt;
&lt;br /&gt;
// 1. Redistributions of source code must retain the above copyright notice, this&lt;br /&gt;
//    list of conditions and the following disclaimer. &lt;br /&gt;
// 2. Redistributions in binary form must reproduce the above copyright notice,&lt;br /&gt;
//    this list of conditions and the following disclaimer in the documentation&lt;br /&gt;
//    and/or other materials provided with the distribution.&lt;br /&gt;
&lt;br /&gt;
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &amp;quot;AS IS&amp;quot; AND&lt;br /&gt;
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED&lt;br /&gt;
// WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE&lt;br /&gt;
// DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR&lt;br /&gt;
// ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES&lt;br /&gt;
// (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;&lt;br /&gt;
// LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND&lt;br /&gt;
// ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT&lt;br /&gt;
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS   &lt;br /&gt;
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
integer displayface = 2;&lt;br /&gt;
&lt;br /&gt;
string Region = &amp;quot;&amp;quot;;&lt;br /&gt;
string Parcel = &amp;quot;&amp;quot;;&lt;br /&gt;
string TimeDate = &amp;quot;&amp;quot;;&lt;br /&gt;
string TextureUUID = &amp;quot;e0d6e6b8-0a40-3eab-08c2-97711a14d439&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
string FPS = &amp;quot;FPS - Sim: &amp;quot;;&lt;br /&gt;
string PHYS = &amp;quot;Physics: &amp;quot;;&lt;br /&gt;
string DIA= &amp;quot;Time Dilation: &amp;quot;;&lt;br /&gt;
string AVIS= &amp;quot;Root Agents: &amp;quot;;&lt;br /&gt;
string SCRPT = &amp;quot;Active Scripts: &amp;quot;;&lt;br /&gt;
&lt;br /&gt;
default&lt;br /&gt;
{&lt;br /&gt;
    state_entry()&lt;br /&gt;
    {     &lt;br /&gt;
        list details = llGetParcelDetails(llGetPos(), [PARCEL_DETAILS_NAME]);&lt;br /&gt;
        &lt;br /&gt;
        Region = llGetRegionName(); &lt;br /&gt;
        Parcel =  llList2String(details ,0);&lt;br /&gt;
                 &lt;br /&gt;
        llSetPrimitiveParams([PRIM_FULLBRIGHT,displayface,TRUE, PRIM_TEXTURE, displayface, TextureUUID, &amp;lt;1.0,1.0,0.0&amp;gt;, &amp;lt;0.0,0.0,0.0&amp;gt;, 0.0]);&lt;br /&gt;
       &lt;br /&gt;
        llSetPrimMediaParams(displayface,[PRIM_MEDIA_HEIGHT_PIXELS, 1024, PRIM_MEDIA_WIDTH_PIXELS, 2048, PRIM_MEDIA_PERMS_CONTROL , PRIM_MEDIA_PERM_NONE]);               &lt;br /&gt;
       &lt;br /&gt;
        llSetTimerEvent( 5.0 );        &lt;br /&gt;
    }&lt;br /&gt;
        &lt;br /&gt;
    timer()&lt;br /&gt;
    {&lt;br /&gt;
        list Stats = osGetRegionStats();&lt;br /&gt;
         &lt;br /&gt;
        string dFPS = FPS + (string) llList2Float( Stats, STATS_SIM_FPS ) ;&lt;br /&gt;
        string dPHYS = PHYS + (string) llList2Float( Stats, STATS_PHYSICS_FPS );&lt;br /&gt;
        string dDIA= DIA + (string) llList2Float( Stats, STATS_TIME_DILATION );&lt;br /&gt;
        string dAVIS= AVIS + (string) llList2Integer( Stats, STATS_ROOT_AGENTS );&lt;br /&gt;
        string dSCRPT = SCRPT + (string) llList2Integer( Stats, STATS_ACTIVE_SCRIPTS );       &lt;br /&gt;
        &lt;br /&gt;
        string WebText = &amp;quot;&amp;lt;body bgcolor='black'&amp;gt;&amp;lt;div style='text-align: center;'&amp;gt;&amp;lt;font size='7'&amp;gt;&amp;lt;font color ='yellow'&amp;gt;&amp;lt;i&amp;gt;&amp;lt;h1&amp;gt;&amp;quot; + Region + &amp;quot; @ &amp;quot; + Parcel  + &amp;quot;&amp;lt;/h1&amp;gt;&amp;lt;h3&amp;gt;( &amp;quot; + llGetTimestamp() + &amp;quot; )&amp;lt;/h3&amp;gt;&amp;lt;/i&amp;gt;&amp;lt;p&amp;gt;&amp;lt;h2&amp;gt;&amp;quot;+  dFPS + &amp;quot; - &amp;quot; +dPHYS + &amp;quot;&amp;lt;p&amp;gt;&amp;quot; + dDIA + &amp;quot;&amp;lt;p&amp;gt;&amp;quot; + dAVIS + &amp;quot; - &amp;quot; + dSCRPT +  &amp;quot;&amp;lt;/h2&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/body&amp;gt;&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
       llSetPrimMediaParams(displayface,[PRIM_MEDIA_HEIGHT_PIXELS, 1024, PRIM_MEDIA_WIDTH_PIXELS, 2048, PRIM_MEDIA_CURRENT_URL, &amp;quot;data:text/html,&amp;quot; + WebText]);&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source &amp;gt;&lt;/div&gt;</summary>
		<author><name>Dz</name></author>	</entry>

	</feed>