From: Adriana Draghici Date: Wed, 10 Feb 2010 15:29:23 +0000 (+0200) Subject: report - started parsers description, 5% finished X-Git-Tag: getopt_long~171 X-Git-Url: http://p2p-next.cs.pub.ro/gitweb/?a=commitdiff_plain;h=65890612466e78dcc00441d7695c677820192363;p=cs-p2p-next.git report - started parsers description, 5% finished --- diff --git a/report/logarch.tex b/report/logarch.tex index fab0a19..ef792a8 100644 --- a/report/logarch.tex +++ b/report/logarch.tex @@ -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 index 0000000..e996f31 --- /dev/null +++ b/report/logarch/parser.tex @@ -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] + + diff --git a/report/report.tex b/report/report.tex index c04b4a9..54fadeb 100644 --- a/report/report.tex +++ b/report/report.tex @@ -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}