J jith45 Member May 25, 2018 960 0 16 Jul 10, 2018 #1 Is there an easy way to parse UL/DL speed either through the webui or rtorrent itself? Usually I'd curl, but I obviously can't curl the full webui every 3 seconds. I'd like to get a geektool geeklet working for current speeds. Thanks in advance.
Is there an easy way to parse UL/DL speed either through the webui or rtorrent itself? Usually I'd curl, but I obviously can't curl the full webui every 3 seconds. I'd like to get a geektool geeklet working for current speeds. Thanks in advance.
D dsouvik215 Member May 25, 2018 896 0 16 Jul 10, 2018 #2 Just use xmlrpc. Or get https://code.google.com/p/pyroscope/wiki/RtorrentMonitoring going, then it's a call to /json/engine to get this: { "download": [ 23, 568320 ], "engine_id": "cube:6310", "now": 1365251354.666424, "upload": [ 18, 63488 ], "uptime": 847404.5061364174, "versions": [ "0.9.2", "0.13.2" ], "views": { "active": 3, "complete": 281, "incomplete": 3, "leeching": 0, "main": 284, "messages": 0, "seeding": 68, "started": 68, "stopped": 216 } }
Just use xmlrpc. Or get https://code.google.com/p/pyroscope/wiki/RtorrentMonitoring going, then it's a call to /json/engine to get this: { "download": [ 23, 568320 ], "engine_id": "cube:6310", "now": 1365251354.666424, "upload": [ 18, 63488 ], "uptime": 847404.5061364174, "versions": [ "0.9.2", "0.13.2" ], "views": { "active": 3, "complete": 281, "incomplete": 3, "leeching": 0, "main": 284, "messages": 0, "seeding": 68, "started": 68, "stopped": 216 } }