Acropolis CPUMemory Watcher

One of the cool things about acropolis is that you can define different views for the same business logic.  This separation of concerns between presentation and business logic is nothing new, but the core acropolis architecture makes it much easier to do. 

The CPU\Memory Watcher demo is a great example of this power.   And with the power of WPF, the views can be very cool...

The default view is a gauge view

clip_image001[1]

 

But click on the command bar and you can change the view to a more data oriented graph view..

 

clip_image001[2][1]

 

The other thing that is way cool about Acropolis is that while it fully expolits WPF, it is not tied to it...  So you can even use the full graphics power of the command console! 

clip_image001[3]

 

You can get the source code here, but a few notes about the implementation...

1. On Vista, you will need to run as VS as administrator to access the perf counters

image

2. The view code for the console application is not as clean as we would like it to be, expect some changes in this space... but it is a good "under the covers" look at how acropolis works.

3. To compile the project for console, you have go into project, settings and change the startup object

image

 

Thanks to Nathan Enright, Scott McCraw and Daniel Irwin for pulling this demo together!

CpuMemoryMonitor.zip