Subscribe to CodeTalk        RSS Feed
-----

PerformanceTweet 2 - WPF Edition

Icon 2 Comments
A while ago I started a project of mine called PerformanceTweet. I published the proof of concept, but that was it - just a prototype that demonstrated the possible functionality of such an application. I decided to take the project a bit further, and here it comes - PerformanceTweet 2. The new application introduces new functionality, and that is:


* Two types of reports - selective (for general activity reports) and alert (to keep track of critical conditions).
* Now, not only the CPU and RAM activity indicators are sent, but also those of the system partition free space, the number of running processes, system uptime and the machine name.
* You can now select the indicators that should be reported. This means that if you don't want the machine name to be sent in the report tweet, you simply disable this option.
* Support for alerts. Now, you can set a critical indicator for one of the three parameters (CPU load, RAM load, system partition free space), and when the system reaches a critical indicator, a tweet report will be sent.


Also one of the major changes (at least from the developers side) is the fact that the application was rewritten completely in WPF (Windows Presentation Foundation). This was more of an experiment and I wanted to create a better user interface for the application.

A minor change, but not less important is the fact that I reduced to the minimum the number of extra characters in the tweet. Probably, when a user reads performance tweets for his machine, the processor model will be completely unnecesary, since the user knows where he is running the application. Now, I introduced one to two letter labels for various indicators. So, for example you have this tweet:

Posted Image

Seems confusing at first, but in fact there is nothing special. Here is the decrypted message:

C: - This is the CPU load for the machine. For this specific moment it was 14.16035%.
R: - This is the RAM load, and it was 68% for the specific moment.
H: - This indicator shows the free space on the system partition, which is equal to 63,868 MB at the specific moment.
RP: - The number of currently running (active) processes on the machine and that would be 88 in this case.
SU: - System uptime for the machine, which would be 23 hours, 18 minutes and 37 seconds at the moment.
M: - The machine name where the program is running, and this is obviously my computer - DENNIS-PC.

Now, I introduced these labels to reduce the overall number of characters posted, because as you know, there is a 140-character limit for a single tweet.

The main application UI looks like this:

Posted Image

System requirements:
Windows XP/Vista/7
.NET Framework 3.5 installed

You can download the application here:
Download

Any feedback (comments, suggestions, criticism) is highly appreciated.

2 Comments On This Entry

Page 1 of 1

Trake Icon

29 December 2009 - 05:40 AM
It might work already, but this to working on Windows 200* Servers would be very useful for people like myself who are working on web sites/applications that are hosted by a client or just externally somewhere that you don't always have easy access to.
0

Core Icon

29 December 2009 - 11:36 AM

Trake, on 29 Dec, 2009 - 07:40 AM, said:

It might work already, but this to working on Windows 200* Servers would be very useful for people like myself who are working on web sites/applications that are hosted by a client or just externally somewhere that you don't always have easy access to.


It should work as long as .NET Framework is installed on the client machine. Windows 2003/2008 are supported platforms for .NET Framework 3.5 (PerformanceTweet 2 is built on top of this). If you are going to try this in a production environment, I would really appreciate any kind of feedback and comments.
0
Page 1 of 1

About this place

Who am I?

I am Dennis Delimarsky, and I am a software developer. Although I am still learning a lot of things, I already have some experience developing client applications. I am working with C#. I totally enjoy coding, but I am also passionate about reading and technical writing. And by the way, I am also an administrator here on Dream.In.Code.

What is this blog about?

This blog is about software development and some tools that I make.

How can I talk to the author?

Just go to http://ohai.im/dennis to find out about my web presence. Or just send me an email: codetalk@live.com

Search My Blog

July 2014

S M T W T F S
  12345
6789101112
13141516171819
20212223242526
2728 29 3031  

0 user(s) viewing

0 Guests
0 member(s)
0 anonymous member(s)