Rewrote the whole website to get rid on a heavy theme
This commit is contained in:
parent
3ea54810ad
commit
60d3abc6ec
122 changed files with 346 additions and 2558 deletions
21
content/blog/commands/rrdtool.md
Normal file
21
content/blog/commands/rrdtool.md
Normal file
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue