ASP.Net/Response/Process
ASP.NET Process Info (VB.net)
<source lang="csharp">
<html> <head> <title>ASP.NET Process Info</title> </head> <body> <script language="VB" runat=server> 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 -1Response.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 </script> </body> </html>
</source>