diff options
Diffstat (limited to '')
-rw-r--r-- | content/blog/commands/rrdtool.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/content/blog/commands/rrdtool.md b/content/blog/commands/rrdtool.md index bca039a..dfeb6ca 100644 --- a/content/blog/commands/rrdtool.md +++ b/content/blog/commands/rrdtool.md @@ -8,13 +8,13 @@ tags: ## Graph manually -{{< highlight sh >}} +```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 |