Code

c24c97447dc34b3173f797ece20159a8786bb8cb
[rrdtool-all.git] / talks / fisl12 / body.tex
1 \mode<presentation>
2 {
3   \usetheme{default} % no fancy navigation or anything ... 
4   \usecolortheme{tobi}
5   \usefonttheme{serif}   
6   \usepackage{lmodern}
7   \newcommand{\addgraph}[1]{\includegraphics[width=\textwidth]{#1}}
8   \setbeamercovered{transparent=25}
9 }
10 \mode<article>
11 {
12   \usepackage{url}
13   \usepackage{graphicx}
14   \usepackage[colorlinks,hyperindex,plainpages=false]{hyperref}
15   \setlength{\parskip}{1ex plus 0.5ex minus 0.2ex}
16   \setlength{\parindent}{0pt}  
17   \usepackage{times}
18   \newcommand{\addgraph}[1]{\begin{center}\framebox{\includegraphics[width=0.9\textwidth]{#1}}\end{center}}
19   \addtolength{\voffset}{-2.5cm}
20   \addtolength{\textheight}{4cm}
21 }
22 \usepackage{alltt}
23 \usepackage{listings}
24 \usepackage{svgcolor}
25 \usepackage[english]{babel}
26 \usepackage[latin1]{inputenc}
27 % or whatever
29 \usepackage[T1]{fontenc}
30 % Or whatever. Note that the encoding and the font should match. If T1
31 % does not look nice, try deleting the line with the fontenc.
33 \title
34 {RRDtool - how to make it sit up and beg?}
36 \author
37 {Tobias Oetiker}
39 \date[FISL12] % (optional, should be abbreviation of conference name)
40 {FISL12}
42 \mode<presentation>{\subject{RRDtool - how to make it sit up and beg}}
44 \mode<presentation>{
45  \lstset{%
46    language=Perl,%
47    numbers=left,%
48    basicstyle=\ttfamily\footnotesize\color{black},%
49    keywordstyle=\color{darkgreen},%
50 %  identifyerstyle=\color{brown},%
51    commentstyle=\color{mediumpurple},%
52    stringstyle=\color{dimgray},
53    numberstyle=\ttfamily\scriptsize\color{darkgray},
54    showstringspaces=false
55  }
56 }
57 \mode<article>{
58  \lstset{%
59    language=Perl,%
60    numbers=left,%
61    basicstyle=\ttfamily\footnotesize,%
62    keywordstyle=\bfseries,%
63    numberstyle=\ttfamily\scriptsize,
64 %  identifyerstyle=\color{brown},%
65    commentstyle=\itshape,%
66    stringstyle=\color{black},
67    showstringspaces=false
68  }
69 }
71 \begin{document}
73 \mode<article>{
74 \maketitle 
75 \addgraph{sample-graph}
76 }
78 \begin{frame}<presentation>
79 \begin{center}
80 \textbf{\Large RRDtool - How to make it sit up and beg?}\\[2ex]
81 \includegraphics[width=1\textwidth]{sample-graph}\\[3ex]
82 {\large Tobias Oetiker, OETIKER+PARTNER AG, Switzerland}
83 \end{center}
84 \end{frame}
86 \mode<articel>{\tableofcontents}
88 \begin{frame}{a database \ldots}
89 \begin{itemize}[<+-| alert@+>]
90 \item for time series data
91 \item with graphics included
92 \item with fixed disk space requirements
93 \item with controlled memory loss
94 \item open source GNU GPL
95 \end{itemize}
96 \end{frame}
98 \begin{frame}{designed for speed}
99 \addgraph{update-schematics}
100 \end{frame}
102 \begin{frame}{rrdtool command line usage}
103 \begin{description}[<+-| alert@+>]
104 \item[rrdtool create] setup a database file
105 \item[rrdtool update] add data
106 \item[rrdtool graph] create a chart
107 \end{description}
108 \end{frame}
110 \begin{frame}{creating a simple rrd}
111 \lstinputlisting[language=bash,firstline=0]{ex/create.sh}
112 One Datasource, 4 Round Robin Archives.
113 \end{frame}
115 \begin{frame}{adding data}
116 \lstinputlisting[language=bash,firstline=0]{ex/update.sh}
117 \mode<handout>{The timestamps are not exactly aligned. RRDtool fixes
118 this on the fly be resampling the data.}
119 \end{frame}
121 \begin{frame}{creating a graph}
122 \lstinputlisting[language=bash,firstline=0]{ex/graph.sh}
123 \end{frame}
125 \begin{frame}{the result}
126 \addgraph{ex/first.pdf}
127 \end{frame}
129 \mode<presentation>{
130 \begin{frame}
131 \begin{description}
132 \item[I am:] Tobi Oetiker $<$tobi@oetiker.ch$>$
133 \item[Handouts for this talk:] \url{http://tobi.oetiker.ch/fisl12/}
134 \item[My Homepage:] \url{http://tobi.oetiker.ch}
135 \end{description}
136 \end{frame}
139 \begin{frame}{Graph Critic - HTTP Cache Traffic}
140 \addgraph{charles}\\
141 graph by Charles Glass
142 \end{frame}
144 \begin{frame}{Graph Critic - RTT of MPLS VPN endpoints}
145 \addgraph{pings}\\
146 graph by Bruno Ciscato
147 \end{frame}
149 \begin{frame}{Graph Critic - System Information}
150 \addgraph{systembelastung}\\
151 graph by kmindi
152 \end{frame}
154 \begin{frame}{Graph Critic - Energy Mix}
155 \addgraph{energy_graph}\\
156 graph by Lutz Schulze
157 \end{frame}
159 \begin{frame}{Graph Critic - Thermostat Indoor / Outdoor}
160 \addgraph{n20e-daily}\\
161 graph by Andres Brownworth
162 \end{frame}
164 \mode<article>{
165 \vspace{\stretch{1}}
166 Tobias Oetiker <tobi@oetiker.ch>
168 \end{document}
170 %%% Local Variables:
171 %%% TeX-master: "presentation.tex"
172 %%% mode: flyspell
173 %%% TeX-PDF-mode: t
174 %%% End: