Response ASP.Net



ASP.NET Process Info



Sub Page_Load(sender As Object, e As EventArgs)
Dim history As ProcessInfo() = ProcessModelInfo.GetHistory(10)
Dim i As Integer
 For i = 0 To history.Length -1
     Response.Write ("")
     Response.Write("ASP.NET Process Start Date and Time" & history(i).StartTime.ToString())
     Response.Write("Process Age ( HH:MM:SS:LongDecimal )" & history(i).Age.ToString())
     Response.Write("Process ID ( The same as in Task Manager )" & history(i).ProcessID.ToString())
     Response.Write("Total Request Count (Requests served since the process started)"                                  & history(i).RequestCount.ToString())
     Response.Write("Peak Memory Used ( KB ) " & history(i).PeakMemoryUsed.ToString())
     Response.Write("")
 Next
End Sub