report - started parsers description, 5% finished
authorAdriana Draghici <adriana008@gmail.com>
Wed, 10 Feb 2010 15:29:23 +0000 (17:29 +0200)
committerAdriana Draghici <adriana008@gmail.com>
Wed, 10 Feb 2010 15:29:23 +0000 (17:29 +0200)
report/logarch.tex
report/logarch/parser.tex [new file with mode: 0644]
report/report.tex

index fab0a19..ef792a8 100644 (file)
@@ -10,5 +10,7 @@
 \subsection{BitTorrent Clients Instrumentation}
 \input{logarch/clients.tex}
 \subsection{Parser}
-\subsection{Database}
+\input{logarch/parser.tex}
+
+\subsection{Database}\label{database}
 \subsection{GUI}
\ No newline at end of file
diff --git a/report/logarch/parser.tex b/report/logarch/parser.tex
new file mode 100644 (file)
index 0000000..e996f31
--- /dev/null
@@ -0,0 +1,21 @@
+
+In order to fill the database's \textit{status\_messages} and  \textit{verbose\_messages tables}, 
+the log files need to be parsed. For each BitTorrent client we implemented in Python two parsers for status and
+verbose information, which use the database communication methods discussed in section \ref{database} to save 
+the parsed data in the database.
+
+All these scripts receive as arguments a client id corresponding to a row in \textit{clients} table, the log file
+and the database.
+
+\subsubsection {Tribler logs parsing}
+[TODO]
+Example of a status line (shown here split into two line):
+\begin{verbatim}
+ 03-Nov-2009 12:18:55 aqua.mpeg DLSTATUS_DOWNLOADING 29.84% 
+ None up 0.00KB/s down  4414.39KB/s eta 12 peers 2
+\end{verbatim}
+
+Examples of protocol message lines:
+[TODO]
+
index c04b4a9..54fadeb 100644 (file)
@@ -8,11 +8,11 @@
 
 \title{An Extensive Reporting, Storage and Analysis Infrastructure for BitTorrent}
 
-\author{Adriana Draghici, Sandu Popa Marius\\
+\author{Adriana Draghici, Sandu Popa Marius, Razvan Deaconescu\\
        University Politehnica of Bucharest\\
        Computer Science and Engineering Department \\
        Splaiul Independen\c{t}ei nr. 313, Bucharest, Romania \\
-       \emph{adriana.draghici@cti.pub.ro, sandupopamarius@gmail.com} \\
+       \emph{\{adriana.draghici, marius.sandupopa\}}@cti.pub.ro, razvan.deaconescu@cs.pub.ro \\
 }
 
 \date{February 11, 2010}