Skip to content
Jochen Schäfer edited this page Jan 4, 2023 · 16 revisions

Page under Construction !!!

The general design of the app has changed. Therefor images and instructions need to be adopted. This process will not happen at once but if I'm having time it will be done in between.


Welcome to the sar_file_analyzer wiki!

Getting Started

When opening the web page a login screen will be presented. Type in username and password as displayed below.


Login


Change the admin password first

The password is stored encrypted within a small local sqlite database. The initial password is password.


Change Password


Upload your first sar file

on the top "Tasks" bar click on "Manage Sar Files" and choose "Add Sar Files" on the scroll menu. Hereafter you can start by uploading a sar file. The sar file must be in ascii format at the moment. To generate it from a binaray sa file execute something like:

unset LANG; sar -A -t -f <sa file> > <outputfile>

Now after choosing the file in the download manager click on submit and the sar file will be uploaded, checked for validity and renamed. The new name will be generated like <date_of_upload>_<hostname>_<sar file creation date> as displayed below:

Upload


Start analyzing your file

Have a first rough overview about metrics of your file.
During the first execution the sar file will be parsed and put into a dictionary data structure. Creation of this data structure needs some time depending on the size of the sar file. To speed up this process for further runs this data structure will be saved into a pickled format on disk. This already is reducing the size to about 1/5 of the original size. Whenever the file has to be investigated further the pickled data will be used.

Analyze your SAR file


Choose which metrics to display

When clicking on below submit button graphs for 5 standard sar sections will be displayed. However you can customize which sections you want to see and if desired the time frame can be selected for which the graphs should be displayed. The app will parse for the available sar sections and will only display the sections found in the "Choose SAR Metrics" selectbox

Select Metrics

Finally the choosen diagrams will be shown after submit:

Diagrams


Show other details

When clicking on the icons above a diagram other data as raw sar data, man pages for the metrics choosen and more can be shown. Just try it out.

Display data:

Diagrams

Display man pages: