TomWoB

LogViewer for AIDA64 is available !

14 posts in this topic

Introduction
I like AIDA64, especially the logging functionality, but it's difficult to analyze this data. The diagrams within AIDA64 are very limited and there is no possibility to compare the influence of different settings (e.g. graphic) to the overall performance of a system. So I decided to implement a tool, 
  • which allows to illustrate AIDA64 log data in several diagrams and 
  • to compare multiple log-files side-by-side in one diagram !
post-15545-0-46478900-1380129947_thumb.png
 
User Guide
Before you can use the tool, you have to generate an AIDA64 log file with at least the following marked settings:
  • Log sensor readings to CSV log file
  • UpTime
post-15545-0-14459500-1372499781_thumb.png
 
The tool is very simple to use: no installation necessary, just start "GenericLogViewer.exe". At the top you can select
  • how many diagrams with
  • how many log-files
should be presented by the tool.
 
Open an AIDA64 log file by clicking the "Open File" button, select application type "AIDA64", select an AIDA64 log file and press "Open" (AIDA64 csv-log-files have typically the filename pattern: *_log.csv). After parsing the file, the logging duration of the file is shown and by default the "Timeline" diagram of the first log category. You can change the shown diagram with:
  • Timeline/Statisic RadioButton
  • Log Category ComboBox
  • Change all buttons (changes category in every diagram)
The Y-axis shows the values of the seleted Log Category in ComboBox (unit is within [..])
 
If an opened file is still updated with logging-data by AIDA64, you can simple update/refresh it by clicking on the "Reload"-Button:
 
post-15545-0-78352800-1380130107_thumb.png
 
At the top left corner of every diagram you can find the arithmetic average of the corresponding curve:
 
post-15545-0-58338700-1380130135_thumb.png
 
If there are too many different values on Y-axis in "Statistic" mode, the values are grouped into ranges. If this is the case, the following control is shown, which allows to increase of decrease the number of ranges (or to disable quantisation).
 
post-15545-0-75189000-1380130169_thumb.png
 
Splitter between the diagrams allow you to adjust the height of all diagrams:
 
post-15545-0-14682500-1372500270_thumb.png
 
After opening all log files you can hide the file area by unmarking "Show file area" to get more space for diagrams.
 
New feature since version 2.1: Simple Mode
I added a "two columns" feature, which doubles the number of diagrams. But if you use "two columns" with a high "number of diagrams" the diagrams are very small. That's why I introduced the "Simple mode" which:
  • simplifies header and footer
  • decreases line thickness

Tip: use the "Tab"-key to toggle between 'Standard' and 'Simple' mode !

 
New feature since version 3.0: Time Window Definition
If you click the "Edit"-button in the file area, a new window will be opened to define Start- and End-time of a time window for the logfile (see user guide at the top of this window). It allows you
  • to show only a part of a single logfile or
  • to synchronize multiple logfiles
Attention: time window start-time is "normalized" to "00:00:00", otherwise synchronization of multiple log-files will not work !
 
Button description:
  • "Set": defines Start/End time of time window
  • "Reset": resets Start/End time to "file borders"
  • "Zoom": zooms into diagram with the actual defined Start/End times for fine-tuning (from Start-10% to End+10%). Remark: works only in case of Start/End is more then 10% from "file Start/End times")
  • "Cancel": closes window without any change
  • "Execute": yes, take the actual defined Start/End times as the used time window for all diagrams !
post-15545-0-09999700-1390055256_thumb.png
 
Tips for analyzing log files:
  • Number of diagrams: 2
  • First diagram: Timeline
  • Second diagram: Statistic
  • Select on both diagrams same log category
  • Use "Change all" buttons for synchronous changes in both diagrams

 

Requirements

  • Microsoft Windows
  • Microsoft Framework .NET 4.0 (at least)
  • no installation necessary, just start "GenericLogViewer.exe"

 

Download

The zip file (SHA-1 hash, Version 3.1: C85D5354CA59A08F1BDA09B7DA28260046B9A942) contains the binary files of the tool.

 
 
Version history:
  • 1.0: Initial version
  • 1.1: "Change log category" buttons added
  • 1.2: User Interface improvements
  • 1.2: Switch to GenericLogViewer
  • 1.3: Bugfix: depending on Windows Region Settings there could be a problem during DateTime conversion (older versions)
  • 2.0: Many internal changes, new features see post below
  • 2.1: New features see post below
  • 2.2: Bugfix: log-files, created on a PC which was running > 24 hours couldn't be loaded -> fixed
  • 3.0: New feature: Time Window Definition
  • 3.1: Bugfix: sometimes log-files can't be opened after AIDA64 was stopped -> fixed
2 people like this

Share this post


Link to post
Share on other sites

Thank you for posting this, it looks like a very useful tool B)

Share this post


Link to post
Share on other sites

New version 2.0 available !

 

New features:
  • Reload-Button: to refresh active logging-files
  • arithmetic averages of all curves are shown
  • quantisation can be disabled if wanted
 
Why new major version 2?
I did a lot of internal changes and code is now completly verified by Unit-Tests.

Share this post


Link to post
Share on other sites

New version 2.1 available !

 

New features:

  • up to 6 diagrams
  • in up to 2 columns (-> max = 12 diagrams)
  • Simple mode (for small diagrams)
  • Tooltip with horizontal line

I added a "two columns" feature, which doubles the number of diagrams. But if you use "two columns" with a high "number of diagrams" the diagrams are very small. That's why I introduced the "Simple mode" which:

  • simplifies header and footer
  • decreases line thickness

Tip: use the "Tab"-key to toggle between 'Standard' and 'Simple' mode !

 

Another new feature is that you can create a horizontal line in a "Timeline" diagram:
go with mouse "on curve where the horizontal line should be", wait until tooltip pops up (with value) and click -> line stays there until you click on another tooltip or you change category.
 
Hope you enjoy my new features ... Tom

Share this post


Link to post
Share on other sites
New version 2.2 available !
 
Bugfix:
Log-files, created on a PC which was running > 24 hours couldn't be loaded -> fixed
 
Tip:
for "long time control" (e.g. PCs running 24/7), you can use the "Numbers of hours between opening new log files" feature, which allows to generate e.g. "one file per day". Such log-files can be perfectly compared, because
  • all files have same duration
  • arithmetic averages are calculated on same base

 

post-15545-0-79359200-1387728378_thumb.png

 
1 person likes this

Share this post


Link to post
Share on other sites

New version 3.0 available !

 

New feature: time window definition per logfile possible:
  • to show only a part of a single logfile or
  • to synchronize multiple logfiles
See detailed description in first post of this thread ...
1 person likes this

Share this post


Link to post
Share on other sites

Help! I have the logging set up the way it needs to me but I can not get the log viewer to open my file. Could I email you my log file and you can tell me what I am doing wrong.

Share this post


Link to post
Share on other sites

After doing A LOT of testing and retrying I was finally able to open 1 log file out of 50 tries doing different things. Mostly 1 am getting an "Array Index out of bounds" error. But also some other errors about my log file being manipulated or corrupted. 

Share this post


Link to post
Share on other sites

Hello mkos1,

 

I'm sorry that you had some trouble with my LogViewer. Let's check some stuff: under menu "File -> Preferences" you should configure the "Logging" section like the following example (interface has a little bit changed):

 

post-15545-0-92955600-1455467327_thumb.png

 

The configuration filename "Aida64log" generates log-filenames like "Aida64log_2016-02-14_15-51-14_log.csv" !

 

Today I generated an example logfile (attached below) with the settings above:

  • 00:00 - 00:26: Project Cars
  • 00:27 - 00:47: F1 2015
  • 00:47 - 00:51: nothing -> cool down

Everything is working fine on my PC: no problem during opening the file or during checking the diagrams ...

Btw: I can't believe that the LogViewer is responsible for "manipulated or corrupted" logfiles as you described. The LogViewer opens logfiles in "read-only* mode, so it will never change a file!

 

Example logfile (zipped):  Aida64log_2016-02-14_15-51-14_log.zip

Share this post


Link to post
Share on other sites

I believe I found the problem. When you have the option "Log started and stopped processes" turned ON it causes errors when reading the log files. It would be nice to be able to leave that option turned on in some future update/release.

Share this post


Link to post
Share on other sites

Hi mkos1,

 

I assume this should be not the problem. I checked the code and

  • log lines like  "* Processes started: dllhost.exe, Photoshop.exe"  are handle correctly, but
  • I found a potential problem in case of such a "Start/Stop" log-line contains the "value delimiter" semikolon (";"), but I never saw such a line so far !

Here is an example of a logfile, which has "Log started and stopped processes" turned ON and the LogViewer doesn't have any problem with this file:

Aida64log_2016-02-17_17-27-48_log.zip

Share this post


Link to post
Share on other sites

Your tool has worked fine for me since turning that option off. I was just opening and closing apps like MS Word and Adobe PDF reader for testing purposes and seemed to have problems with the option on. The tool has proven very usefull for monitoring what I have needed it for. (Tracking the performance impact of an automated data backup solution)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now