Monitoring Performance Counter Asp.Net Using C#
21 June 2006 at 1:44 pm | In Asp.Net With C# Forum | 1 CommentApa sih performance counter ? Untuk OS Windows performance monitoring bisa dilihat dengan klik start>run ketik perfmon, jgn lupa enter. Nah akan muncul tampilan grafik. Tmn2 bisa menambahkan grafik lewat klik kanan pada canvas grafik disitu trus pilih Add Counters … nah disitu akan ada pilihan … nama komputer, category, counter ma instance, setelah tmn2 memilih … klik tombol Add.
Trus gmn caranya biar tampilan grafik tersebut bisa ditampilkan dengan browser pake Asp.Net ….Nah itu pake package System.Diagnostics disitu ada class Performance Counter.
Contoh penggunaannya spt ini :
using System;
using System.Diagnostics;
namespace MyPerfMon{
public class PerfMon
{
public PerfMon(){
}publicĀ float getPerfMon()
{
}
}
}
….. to be continue
Blog at WordPress.com. | Theme: Pool by Borja Fernandez.
Entries and comments feeds.