mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-06 10:12:30 +00:00
e0068a3f42
* Fixed max uploads and connected peers settings. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1173 e378c898-3ddf-0310-93e7-cc216c733640
41 lines
1.4 KiB
Gnuplot
41 lines
1.4 KiB
Gnuplot
#/bin/bash
|
|
gnuplot << EOF
|
|
# $system.time_seconds=
|
|
#
|
|
# $throttle.global_up.rate=
|
|
# $throttle.global_up.total=
|
|
# $throttle.global_down.rate=
|
|
# $throttle.global_down.total=
|
|
#
|
|
# $throttle.unchoked_uploads=
|
|
# $throttle.unchoked_downloads=
|
|
# $pieces.memory.current=
|
|
#
|
|
# schedule = log_stats,5,10,"execute={log_rtorrent.sh,\"$cat=/foo/bar.,$system.pid=\",$system.time_seconds=,$throttle.global_up.rate=,$throttle.global_up.total=,$throttle.global_down.rate=,$throttle.global_down.total=,$throttle.unchoked_uploads=,$throttle.unchoked_downloads=,$pieces.memory.current=}"
|
|
|
|
|
|
set terminal png
|
|
set output "output.png"
|
|
set xdata time
|
|
set timefmt "%s"
|
|
set format x "%H:%M"
|
|
|
|
#set multiplot
|
|
|
|
plot "$1" using 1:2 smooth bezier with lines title 'Upload rate',\
|
|
"$1" using 1:4 smooth bezier with lines title 'Download rate',\
|
|
"$1" using 1:6 smooth bezier with lines title 'Upload unchoked' axis x1y2,\
|
|
"$1" using 1:7 smooth bezier with lines title 'Download unchoked' axis x1y2
|
|
|
|
set output "output_2.png"
|
|
|
|
plot "$1" using 1:8 smooth bezier with lines title 'Memory usage' axis x1y1
|
|
|
|
set output "output_incore.png"
|
|
|
|
plot "$2" using 1:2 smooth bezier with lines title 'Incore cont.' axis x1y1,\
|
|
"$2" using 1:3 smooth bezier with lines title 'Incore new' axis x1y2,\
|
|
"$2" using 1:4 smooth bezier with lines title 'Not incore cont.' axis x1y1,\
|
|
"$2" using 1:5 smooth bezier with lines title 'Not incore new' axis x1y2
|
|
EOF
|