PerformanceCounter is a .NET class in the System.Diagnostics namespace that represents a Windows NT performance counter component.
1
vote
0answers
14 views
Microsoft Office interop perfomence issue
I am try to exporting datagridview data to excel file in my C# 4.0 WIndows application.
we used Microsoft.Office.Interop.Excel dll version 12.0.0.0. It's works well and everything
is fine. But i ...
0
votes
0answers
6 views
How to handle the unknown form data in webload
I m using Webload to record a Java based web application.
In that I m facing internal server error while replaying the script generated.
wlHttp.FormData["UNKNOWN"] = ...
0
votes
0answers
12 views
WMI Performace Counter classes edit
After researching for hours and couldnt find a clear answer I would like your help in changing a performace counter WMI class (e.g. Win32_PerfRawData_[...]), to be exact - adding a key qualifier to a ...
1
vote
1answer
25 views
Retrieve process network usage
How can I get a process send/receive bytes? the preferred way is doing it with C#.
I've searched this a lot and I didn't find any simple solution for this. Some solutions suggested to install the ...
0
votes
0answers
15 views
Wrap .Net CLR Performance Counter into Custom Performance Counter
today i discovered a bug in the microsoft azure DiagnosticsService and i like to find a workaround for it. (TL;DR further below)
Here the Bug:
I am using the AzureDiagnsticMonitor for loging ...
0
votes
1answer
19 views
How to get the stats of memory and process consumption of a .net assembly
I need to capture the statistics of windows service in terms of memory and process usage.
I tried exploring Perfmon, it has options for capturing the system performance. Probably this will have ...
2
votes
1answer
43 views
Async WCF Service and Call Duration Performance Counter
I am trying to measure the Calls Duration performance counter for a WCF service method.
I have a very simple WCF service as given below.
Service interface:
[ServiceContract]
public interface ...
1
vote
1answer
70 views
how many ticks are there in a second?
I'm using KeQueryPerformanceCounter to get the number of ticks per second.
I understand this is the performance counter frequency, in ticks per second. I don't know how to convert this to a unit of ...
0
votes
1answer
62 views
SQL Server performance counter for incoming and outgoing bytes
For a project I need to read the incoming and outgoing bytes per second of an SQL-Server (2012) instance of an instance or database (doesn't matter). For this I found the following performance ...
1
vote
0answers
23 views
Monitor available threads in threadpool within an asp.net application
I want to find a way to realise how many threads are available in a threadpool of an ASP.net application.
I've found this link http://msdn.microsoft.com/en-us/library/ff650682.aspx
which example ...
0
votes
1answer
44 views
Why my PerformanceCounter always returns 0 when passing the counter to the method
I've already found this question telling that the first occurrence of my PerformanceCounter is 0, so I have to call it multiple times to get the right result.
I got that to work fine - it looks like ...
0
votes
0answers
11 views
Is there a way to get utilization of Individual tasks in the task manager?
Currently, I'm getting the CPU and Memory Utilization from the Performance Monitor, it lists all the task as in the task manager, with some counters. Here, the utilization of the Task Scheduler is ...
0
votes
0answers
40 views
Do Contention Rate rises with more locks in C# code?
Do contention rate increases with increase of locks in code?
Consider below code.
public partial class _Default : System.Web.UI.Page
{
private static string count = "0";
protected void ...
1
vote
1answer
114 views
PerformanceCounter extremely slow in connecting remote server
I try to use PerformanceCounter to monitor remote server information in a domain environment, like:
var counter = new PerformanceCounter("PhysicalDisk", "Disk Bytes/sec", "_Total", "REMOTE_SERVER");
...
1
vote
1answer
401 views
Why is my ASP.NET MVC Multi instance Performance counter not working
I'm having trouble getting our multi-instance performance counter to work in ASP.NET MVC 3. Creating it as single instance works fine and running our multi-instance perf counter code in a simple ...