You are not logged in.
Pages: 1
It possible add two variable on one value
example
TOTAL ${totaldown ppp0} ${totalup ppp0}
display the separate ppp0 network traffic on upload and download,
if I want display only output (total) of upload and download)?
thank in advance!
Offline
https://www.khattam.info/howto-display-daily-weekly-monthly-internet-traffic-totals-on-desktop-using-conky-2010-11-09.html
Offline
Good solution, but I prefer whitout vnstat.
Same result as to make new script executable
#!/bin/sh
rx=$(ifconfig ppp0 | grep bytes: | sed 's/.*RX bytes://' | sed 's/ .*//')
tx=$(ifconfig ppp0 | grep bytes: | sed 's/.*TX bytes://' | sed 's/ .*//')
echo "Total transfer: "$(expr $((rx+tx)) / 1024) "Kbytes"
saved as “total_transfer” to /usr/bin and executed by conky.conf
${exec total_transfer }
Offline
Fixed: please don't use backticks in your scripts on this forum.
This forum only render the content between the backticks in a monospaced font, hiding backticks itself. Reader will get the uncomplete script.
Offline
Not clear for me this question... why hiding backtick?
I have searched this problem on web, and the solution is strange (triple backtick for viewed one)...
https://teamtreehouse.com/community/how-to-include-a-backtick-in-a-post-with-formatted-code-block
backtick test [c][/c]` (triple)
Offline
Hi gibor,
No, it not works with the triple: please see your post changed to using three backticks: http://forum.slitaz.org/topic/conkyconf-question#post-4392
(As for me, I think it's totally pain in ass, but I can't switch off this feature on this forum, so we will have to live with it.) It's possible that triple backticks not functioned inside the blockquote tag.
[attachment=43928,2435]
By the way, this forum used bbPress 1.1 if you're interested. And here's download section in the author's web site. And something I found for post formatting, and which is not applicable to our forum settings anyway (I think due to ancient version).
Offline
Pages: 1
[ Generated in 0.017 seconds, 7 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]