Code

white on black
[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{white},%
49    keywordstyle=\color{lightgreen},%
50 %  identifyerstyle=\color{brown},%
51    commentstyle=\color{moccasin},%
52    stringstyle=\color{lightskyblue},
53    numberstyle=\ttfamily\scriptsize\color{gray},
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{white},
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}{RRDtool is 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}{RRDtool is designed for speed}
99 \addgraph{update-schematics}
100 \end{frame}
102 \begin{frame}{RRDtool command line usage}
103 \begin{description}[<+-| alert@+>]
104 \item[\texttt{rrdtool create}] to setup a database file
105 \item[\texttt{rrdtool update}] to add data
106 \item[\texttt{rrdtool graph}] to create a chart
107 \end{description}
108 \end{frame}
110 \mode<handout>{There are also native interfaces for perl, python, php, ruby,
111 tcl.}
113 \begin{frame}{creating a simple rrd}
114 \lstinputlisting[language=bash,firstline=0]{ex/create.sh}
115 One Datasource, 4 Round Robin Archives.
116 \end{frame}
118 \begin{frame}{adding data}
119 \lstinputlisting[language=bash,firstline=0]{ex/update.sh}
120 \mode<handout>{The timestamps are not exactly aligned. RRDtool fixes
121 this on the fly be resampling the data.}
122 \end{frame}
124 \begin{frame}{creating a graph}
125 \lstinputlisting[language=bash,firstline=0]{ex/graph.sh}
126 \end{frame}
128 \begin{frame}{the result}
129 \addgraph{ex/first.pdf}
130 \end{frame}
132 \mode<presentation>{
133 \begin{frame}
134 \begin{description}
135 \item[I am] Tobi Oetiker $<$tobi@oetiker.ch$>$
136 \item[Handouts for this talk] \url{http://tobi.oetiker.ch/fisl12/}
137 \item[My Homepage] \url{http://tobi.oetiker.ch}
138 \end{description}
139 \end{frame}
142 \begin{frame}{Graph Critic - HTTP Cache Traffic}
143 \addgraph{charles}\\
144 graph by Charles Glass
145 \end{frame}
147 \begin{frame}{Graph Critic - RTT of MPLS VPN endpoints}
148 \addgraph{pings}\\
149 graph by Bruno Ciscato
150 \end{frame}
152 \begin{frame}{Graph Critic - System Information}
153 \addgraph{systembelastung}\\
154 graph by kmindi
155 \end{frame}
157 \begin{frame}{Graph Critic - Energy Mix}
158 \addgraph{energy_graph}\\
159 graph by Lutz Schulze
160 \end{frame}
162 \begin{frame}{Graph Critic - Thermostat Indoor / Outdoor}
163 \addgraph{n20e-daily}\\
164 graph by Andres Brownworth
165 \end{frame}
167 \mode<article>{
168 \vspace{\stretch{1}}
169 Tobias Oetiker <tobi@oetiker.ch>
171 \end{document}
173 %%% Local Variables:
174 %%% TeX-master: "presentation.tex"
175 %%% mode: flyspell
176 %%% TeX-PDF-mode: t
177 %%% End: