{"action":"created","issue":{"url":"https://api.github.com/repos/KevinHivert/Conky-lua/issues/1","labels_url":"https://api.github.com/repos/KevinHivert/Conky-lua/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/KevinHivert/Conky-lua/issues/1/comments","events_url":"https://api.github.com/repos/KevinHivert/Conky-lua/issues/1/events","html_url":"https://github.com/KevinHivert/Conky-lua/issues/1","id":58772724,"number":1,"title":"Cpu usage","user":{"login":"erikdubois","id":10594806,"avatar_url":"https://avatars.githubusercontent.com/u/10594806?v=3","gravatar_id":"","url":"https://api.github.com/users/erikdubois","html_url":"https://github.com/erikdubois","followers_url":"https://api.github.com/users/erikdubois/followers","following_url":"https://api.github.com/users/erikdubois/following{/other_user}","gists_url":"https://api.github.com/users/erikdubois/gists{/gist_id}","starred_url":"https://api.github.com/users/erikdubois/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erikdubois/subscriptions","organizations_url":"https://api.github.com/users/erikdubois/orgs","repos_url":"https://api.github.com/users/erikdubois/repos","events_url":"https://api.github.com/users/erikdubois/events{/privacy}","received_events_url":"https://api.github.com/users/erikdubois/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-24T17:32:47Z","updated_at":"2015-02-24T19:24:15Z","closed_at":null,"body":"i enjoyed looking into your code, seeing what was possible via lua...\r\nSince i am a novice not everything worked on my linux mint port.\r\ni ended looking into it as i found out that working via lua it took about 6% cpu to get the information via lua...\r\n\r\nJust informing you."},"comment":{"url":"https://api.github.com/repos/KevinHivert/Conky-lua/issues/comments/75826385","html_url":"https://github.com/KevinHivert/Conky-lua/issues/1#issuecomment-75826385","issue_url":"https://api.github.com/repos/KevinHivert/Conky-lua/issues/1","id":75826385,"user":{"login":"erikdubois","id":10594806,"avatar_url":"https://avatars.githubusercontent.com/u/10594806?v=3","gravatar_id":"","url":"https://api.github.com/users/erikdubois","html_url":"https://github.com/erikdubois","followers_url":"https://api.github.com/users/erikdubois/followers","following_url":"https://api.github.com/users/erikdubois/following{/other_user}","gists_url":"https://api.github.com/users/erikdubois/gists{/gist_id}","starred_url":"https://api.github.com/users/erikdubois/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erikdubois/subscriptions","organizations_url":"https://api.github.com/users/erikdubois/orgs","repos_url":"https://api.github.com/users/erikdubois/repos","events_url":"https://api.github.com/users/erikdubois/events{/privacy}","received_events_url":"https://api.github.com/users/erikdubois/received_events","type":"User","site_admin":false},"created_at":"2015-02-24T19:24:15Z","updated_at":"2015-02-24T19:24:15Z","body":"that was one of the issues\r\nfile = io.popen(\"yaourt -Qu | wc -l | tail\")\r\n\r\nmy alternative would be \r\naptitude search \"~U\" | wc -l | tail\r\n\r\ncopy/pasting it in was an explosion in cpu usage.\r\nEvery second it went to ask if there were updates\r\n\r\ntried to make a parse command so that it would do execi 6300 or so... Had to change to code so much,  i eventually gave up.\r\n\r\nIf i could make lua to skip this specific command line for x number of times that would help.\r\n\r\nI have to find a work around in that regard\r\nnevertheless I will work on it again once i have more lua knowledge.\r\n\r\nI did a replace for my eth0 and wlan0 - worked just fine.\r\n\r\ndid the interval update to 4 sec... but that's not the solution. \r\nClock skips seconds... it seems like it is crashing. \r\n"}}