From 60d3abc6ecdc21b4ab921d34a55b4af48690f55a Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Thu, 11 Mar 2021 18:53:14 +0100 Subject: Rewrote the whole website to get rid on a heavy theme --- content/blog/commands/rrdtool.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 content/blog/commands/rrdtool.md (limited to 'content/blog/commands/rrdtool.md') diff --git a/content/blog/commands/rrdtool.md b/content/blog/commands/rrdtool.md new file mode 100644 index 0000000..33f54dc --- /dev/null +++ b/content/blog/commands/rrdtool.md @@ -0,0 +1,21 @@ +--- +title: "rrdtool" +linkTitle: "rrdtool" +date: 2018-09-25 +description: > + rrdtool +--- + +## Graph manually + +{{< highlight sh >}} +for i in `ls`; do + rrdtool graph $i.png -w 1024 -h 768 -a PNG --slope-mode --font DEFAULT:7: \ + --start -3days --end now DEF:in=$i:netin:MAX DEF:out=$i:netout:MAX \ + LINE1:in#0000FF:"in" LINE1:out#00FF00:"out" +done +{{< /highlight >}} + +## References + +- https://calomel.org/rrdtool.html -- cgit v1.2.3