Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Monitoring (network) resource utlization and performance of a windows application

I am building a client-server based solution; client being a desktop application and the server being a web application.

Basically, I need to monitor the performance and resource utilization of the client, which is a .NET 2.0 based Windows Desktop application.

The most important thing I need to monitor is the network resources the client uses, i.e. what is the size of the data that flows out from the client to the server and what is the size of the data that the client downloads from the server.

Apart from this, general performance monitoring would help too.

Please guide.

Edit: A few people have suggested using perfmon, but aren't the values shown in perfmon system-wide? I need these network based stats for a single application only...bytes being sent and received by a single desktop application.

like image 285
Sameet Avatar asked Apr 15 '09 17:04

Sameet


People also ask

What is performance monitoring How can you monitor performance on Windows?

The Microsoft Windows Performance Monitor is a tool that administrators can use to examine how programs running on their computers affect the computer's performance. The tool can be used in real time and also be used to collect information in a log to analyze the data at a later time.

How do I monitor Windows resource usage?

To open up Resource Monitor, press Windows Key + R and type resmon into the search box. Resource Monitor will tell you exactly how much RAM is being used, what is using it, and allow you to sort the list of apps using it by several different categories.

How do I monitor application network traffic in Windows?

Windows 10 keeps track of which applications are using your network and how much data they're transferring. You can see which apps have used your network over the past 30 days and how much data they've transferred. To find this information, head to Settings > Network & Internet > Data Usage.


1 Answers

The standard tool for network monitoring is Wireshark. It allows you to filter the network traffic very flexiblely. This could be quite an overkill for your application though. If you are using pure .NET, I would suggest that you add performance logging into your networking classes on the server side- if you are using .Net library classes, then inheritate from them your own classes which add statistics when sending and receiving data.

like image 197
weismat Avatar answered Nov 14 '22 22:11

weismat