{"id":4716,"date":"2016-02-02T13:22:02","date_gmt":"2016-02-02T12:22:02","guid":{"rendered":"https:\/\/www.bdjl.de\/localhost\/?p=4716"},"modified":"2016-02-02T13:22:02","modified_gmt":"2016-02-02T12:22:02","slug":"conky-1-10","status":"publish","type":"post","link":"https:\/\/www.bdjl.de\/localhost\/?p=4716","title":{"rendered":"conky 1.10"},"content":{"rendered":"<p>Mit conky 1.10 ver\u00e4ndert sich die .conkyrc Syntax. Sieht jetzt mehr nach LUA aus. Ich bin also am Basteln, damit ich unter LXDE die wichtigsten Infos wieder sehen kann. Bis jetzt bin ich bei so was:<\/p>\n<pre class=\"lang:default decode:true \">-- vim: ts=4 sw=4 noet ai cindent syntax=lua\r\n--[[\r\nConky, a system monitor, based on torsmo\r\n\r\nAny original torsmo code is licensed under the BSD license\r\n\r\nAll code written since the fork of torsmo is licensed under the GPL\r\n\r\nPlease see COPYING for details\r\n\r\nCopyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen\r\nCopyright (c) 2005-2012 Brenden Matthews, Philip Kovacs, et. al. (see AUTHORS)\r\nAll rights reserved.\r\n\r\nThis program is free software: you can redistribute it and\/or modify\r\nit under the terms of the GNU General Public License as published by\r\nthe Free Software Foundation, either version 3 of the License, or\r\n(at your option) any later version.\r\n\r\nThis program is distributed in the hope that it will be useful,\r\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\r\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r\nGNU General Public License for more details.\r\nYou should have received a copy of the GNU General Public License\r\nalong with this program.  If not, see &lt;http:\/\/www.gnu.org\/licenses\/&gt;.\r\n]]\r\n\r\nconky.config = {\r\n    alignment = 'top_right',\r\n    background = false,\r\n    border_width = 0,\r\n    cpu_avg_samples = 2,\r\n\tdefault_color = 'white',\r\n    default_outline_color = 'grey',\r\n    default_shade_color = 'white',\r\n    draw_borders = false,\r\n    draw_graph_borders = true,\r\n    draw_outline = false,\r\n    draw_shades = false,\r\n    use_xft = true,\r\n    font = 'DejaVu Sans Mono:size=10',\r\n    gap_x = 20,\r\n    gap_y = 20,\r\n    minimum_height = 5,\r\n\tminimum_width = 5,\r\n    own_window_transparent = true,\r\n    net_avg_samples = 2,\r\n    no_buffers = true,\r\n    out_to_console = false,\r\n    out_to_stderr = false,\r\n    extra_newline = false,\r\n    own_window = true,\r\n    own_window_class = 'Conky',\r\n    own_window_type = 'desktop',\r\n    stippled_borders = 0,\r\n    update_interval = 2.0,\r\n    uppercase = false,\r\n    use_spacer = 'none',\r\n    show_graph_scale = false,\r\n    show_graph_range = false\r\n}\r\n\r\nconky.text = [[\r\nKernel $kernel on $machine \r\n$hr\r\n${color grey}Uptime:$color $uptime\r\n${color grey}Frequency (in MHz):$color $freq\r\n${color grey}Frequency (in GHz):$color $freq_g\r\n${color grey}RAM Usage:$color $mem\/$memmax - $memperc% ${membar 4}\r\n${color grey}Swap Usage:$color $swap\/$swapmax - $swapperc% ${swapbar 4}\r\n\r\n${color grey}CPU Usage:$color ${cpu cpu0%} \r\n${color grey}CPU 1:$color ${cpu cpu1%} ${cpubar cpu1 4}\r\n${color grey}CPU 2:$color ${cpu cpu2%} ${cpubar cpu2 4}\r\n$hr\r\n${color grey}\r\n  IO \r\n  Root ${diskio \/dev\/sda1} \r\n  Home ${diskio \/dev\/sda3}\r\n\r\n  \/     ${color grey}${fs_used \/}\/${fs_size \/} \r\n  ${fs_bar 6 \/}\r\n  \/home ${color grey}${fs_used \/home}\/${fs_size \/home} \r\n  ${fs_bar 6 \/home}\r\n${color grey}\r\n  ETH0\r\n  Up:   $color ${upspeed enp7s0} ${color grey} - Down: $color ${downspeed enp7s0}\r\n  ${color grey}WLAN0\r\n  Up:   $color ${upspeed wlp6s0} ${color grey} - Down: $color ${downspeed wlp6s0}\r\n\r\n$hr\r\nLoad: ${loadavg} \r\n${color lightgrey} ${loadgraph 25 -l}\r\n${color grey}Processes:$color $processes  ${color grey}Running:$color $running_processes\r\n\r\n${color grey}Name               PID   CPU%   MEM%\r\n${color lightgrey} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}\r\n${color lightgrey} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}\r\n${color lightgrey} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}\r\n${color lightgrey} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}\r\n${color lightgrey} ${top name 5} ${top pid 5} ${top cpu 5} ${top mem 5}\r\n${color lightgrey} ${top name 6} ${top pid 6} ${top cpu 6} ${top mem 6}\r\n${color lightgrey} ${top name 7} ${top pid 7} ${top cpu 7} ${top mem 7}\r\n${color lightgrey} ${top name 8} ${top pid 8} ${top cpu 8} ${top mem 8}\r\n${color lightgrey} ${top name 9} ${top pid 9} ${top cpu 4} ${top mem 9}\r\n\r\n$hr\r\nEntropy: ${entropy_bar 6}\r\n\r\n]]\r\n<\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Mit conky 1.10 ver\u00e4ndert sich die .conkyrc Syntax. Sieht jetzt mehr nach LUA aus. Ich bin also am Basteln, damit ich unter LXDE die wichtigsten Infos wieder sehen kann. Bis jetzt bin ich bei so was: &#8212; vim: ts=4 sw=4 noet ai cindent syntax=lua &#8211;[[ Conky, a system monitor, based on torsmo Any original torsmo [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14,5],"tags":[228,541,542],"class_list":["post-4716","post","type-post","status-publish","format-standard","hentry","category-laptop","category-linux","tag-conky","tag-lxde","tag-openbox"],"_links":{"self":[{"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=\/wp\/v2\/posts\/4716","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4716"}],"version-history":[{"count":2,"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=\/wp\/v2\/posts\/4716\/revisions"}],"predecessor-version":[{"id":4718,"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=\/wp\/v2\/posts\/4716\/revisions\/4718"}],"wp:attachment":[{"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4716"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4716"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4716"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}