You are not logged in.
Hello Guys.
I've got problem to get graphs working in conky. Please help.
$ ./conky-startup.sh
conky: desktop window (e00003) is subwindow of root window (262)
conky: window type - desktop
conky: drawing to created window (0x2200002)
conky: drawing to double buffer
conky: forked to background, pid is 1296
conkyrc : http://pastebin.com/mEyJiL7u
Offline
Which part is not working? cpugraph looks fine. May be the vertical pixel is too low and plot is not very high on that axis?
Offline
Not functioning cpugraphs or net up/down graphs anymore.
Last edited by Viterzgir (2015-12-11 01:33:44)
Offline
Are you sure eth2s15 is the correct interface?
Offline
for debugging purposes I recommend you to set the height of the graphs extremely high, 500 pixels for instance.
This makes it easy to see any activity.
CPU activity can often idle around 5-10% which wouldn't even be 1 pixel in height in your current graphs.
As for the network graphs, I am not sure what upper limits conky uses... maybe there is some option to set maximum speed to which conky can scale?
And again: unless you are doing some heavy downloading, it is possible that the graphs don't show anything..
e.g.: my maximum down-speed is 200Mbit. If I were to download something at a speed of 20Mbit, this would mean a 10% of maximum.
Your graph has a height of 8px, 10% of 8px is 0.8px which would probably round down to 0px thus not showing you any activity.
Offline
that's what I suggested about the cpu usage too.
As for the network graphs, I am not sure what upper limits conky uses...
It doens't. It dynamically changes the scale to make the highest value within the frame to be shown at highest point in the frame.
that's why I guessed the interface might be named differently.
Last edited by bibek22 (2015-12-11 07:52:52)
Offline
LCvanDinteren wrote:As for the network graphs, I am not sure what upper limits conky uses...
It doens't. It dynamically changes the scale to make the highest value within the frame to be shown at highest point in the frame.
that's why I guessed the interface might be named differently.
Oh, nice, I didn't know that..! I used a lua script before to make a ring.. It needed to set max values so I thought it might apply here as well.
In that case, however, Viterzgir, please post output of ip addr
I am not sure this is the problem though.. I thought conky would give an error on non-existent device.
You could also try showing the data in text for debugging purposes.
${cpu cpu1}
${downspeed <device>}See if that shows anything.
Offline
I thought conky would give an error on non-existent device.
Again, it doesn't. I know that from previous exp. and also I ran the conky with the config. OP posted and it doesn't complain at all and my interface is enp1s0. and obviously there's no output on graph.
Last edited by bibek22 (2015-12-11 09:21:35)
Offline
Are you sure eth2s15 is the correct interface?
yes ip addr giving me output
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp2s15: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether 00:1f:d0:52:e1:3c brd ff:ff:ff:ff:ff:ff
inet 82.193.104.79/26 brd 82.193.104.127 scope global dynamic enp2s15
valid_lft 3121sec preferred_lft 3121sec
inet6 fe80::21f:d0ff:fe52:e13c/64 scope link
valid_lft forever preferred_lft foreverfor debugging purposes I recommend you to set the height of the graphs extremely high
Another configuration also not shown cpugraph and network graph. It works only if I run config via conky manager. That's strange. I'am also trying downgrade conky it's still not working properly.
Thank's for help.
Offline