<[ // Personal Web Server - Server Statistics // (c) 1997-98 SmartDesk, Inc., All Rights Reserved websrvr = 0 + param( 1 ) sessionId = 0 + param( 2 ) session = new( "session", websrvr, sessionId ) stats = webServerStats( websrvr ) ]> Personal Web Server Statistics

©Copyright 1997-98
by SmartDesk, Inc.
All Rights Reserved

<[ ! session.data( "SERVER_SOFTWARE" ) ]>
Details | Configuration | Server Log | Home


Statistics

<[ ! session.data( "SERVER_NAME" ) + ", " + cdow( jdate( ) ) + " " + date( "MMMM DDDD, YYYY" ) + ", " + timetostr( time( ), 0 ) + "m" ]>

Connection Requests <[ ! strcommas( strextract( stats, " ", 12 ) ) ]>
Session Count <[ ! strcommas( strextract( stats, " ", 13 ) ) ]>
Bytes Sent <[ ! strcommas( strextract( stats, " ", 8 ) ) ]>
Bytes Received <[ ! strcommas( strextract( stats, " ", 9 ) ) ]>
Read Requests <[ ! strcommas( strextract( stats, " ", 3 ) ) ]>
Write Requests <[ ! strcommas( strextract( stats, " ", 4 ) ) ]>
Active Page Requests <[ ! strcommas( strextract( stats, " ", 5 ) ) ]>
Active Page Bytes Generated <[ ! strcommas( strextract( stats, " ", 6 ) ) ]>
Average Bytes Per Read <[ x = 0 + strextract( stats, " ", 3 ) if ( x < 1 ) ! 0 else y = 0 + strextract( stats, " ", 9 ) ! strcommas( "" + int( y / x ) ) end ]>
Average Bytes Per Write <[ x = 0 + strextract( stats, " ", 4 ) if ( x < 1 ) ! 0 else y = 0 + strextract( stats, " ", 8 ) ! strcommas( "" + int( y / x ) ) end ]>
Average Bytes Per Active Page <[ x = 0 + strextract( stats, " ", 5 ) if ( x < 1 ) ! 0 else y = 0 + strextract( stats, " ", 6 ) ! strcommas( "" + int( y / x ) ) end ]>
Retries <[ ! strcommas( strextract( stats, " ", 11 ) ) ]>
Errors <[ ! strcommas( strextract( stats, " ", 10 ) ) ]>
Error Percentage <[ x = ( 0 + strextract( stats, " ", 3 ) ) + strextract( stats, " ", 4 ) if ( x < 1 ) ! "0.0%" else y = 0.0 + strextract( stats, " ", 10 ) z = "" + ( ( y / x ) * 100 ) if ( at( "e", z ) > 1 ) ! "< .01%" else ! left( "" + z + " ", 6 ) + "%" end end ]>

Tell me more about the SmartDesk Personal Web Server





<[! webFooter( )]>