{"id":19,"date":"2017-06-19T15:32:27","date_gmt":"2017-06-19T12:32:27","guid":{"rendered":"http:\/\/tryon.ru\/?p=19"},"modified":"2025-05-05T11:38:26","modified_gmt":"2025-05-05T08:38:26","slug":"%d0%bc%d0%be%d0%b9-conky","status":"publish","type":"post","link":"https:\/\/tryon.ru\/?p=19","title":{"rendered":"\u041c\u043e\u0439 Conky"},"content":{"rendered":"\n<!--more-->\n\n\n\n<p>\u041f\u043e\u0441\u0442\u0430\u0432\u0438\u043b \u0441\u0435\u0431\u0435 Conky \u043d\u0430 \u043d\u043e\u0443\u0442 \u0441 Debian. \u041f\u043e\u0441\u043b\u0435 \u0440\u0430\u0437\u0431\u043e\u0440\u043e\u043a \u0441 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u043c\u0438 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c \u0432\u043e\u0442 \u0447\u0442\u043e:<br><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-20 alignnone\" src=\"https:\/\/tryon.ru\/wp-content\/uploads\/2017\/06\/MyConky-196x300.png\" alt=\"\" width=\"196\" height=\"300\" srcset=\"https:\/\/tryon.ru\/wp-content\/uploads\/2017\/06\/MyConky-196x300.png 196w, https:\/\/tryon.ru\/wp-content\/uploads\/2017\/06\/MyConky.png 271w\" sizes=\"auto, (max-width: 196px) 100vw, 196px\" \/><br><br>\u042d\u0442\u043e \u0444\u0430\u0439\u043b \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 (~\/.conkyrc):<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"ini\" data-enlighter-theme=\"atomic\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"false\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">conky.config = {\n    alignment = 'top_right',\n    background = true,\n    border_width = 1,\n    cpu_avg_samples = 1,\n    default_color = 'white',\n    default_outline_color = 'white',\n    default_shade_color = 'white',\n    double_buffer = true,\n    draw_borders = false,\n    draw_graph_borders = true,\n    draw_outline = false,\n    draw_shades = false,\n    use_xft = true,\n    font = 'DejaVu Sans Mono:size=9',\n    gap_x = 5,\n    gap_y = 60,\n    minimum_height = 5,\n    minimum_width = 200,\n    net_avg_samples = 2,\n    no_buffers = true,\n    out_to_console = false,\n    out_to_stderr = false,\n    extra_newline = false,\n    own_window = true,\n    own_window_title = 'conky',\n    own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',\n    own_window_argb_visual = true,\n    own_window_argb_value = 0,\n    own_window_type = 'normal',\n    stippled_borders = 0,\n    update_interval = 1.0,\n    uppercase = false,\n    use_spacer = 'none',\n    show_graph_scale = false,\n    show_graph_range = false\n}\n\nconky.text = [[\n${color goldenrod}Hostname:${color} $nodename\n$hr\n${color grey}Uptime:$color $uptime\n${color grey}Frequency:$color $freq MHz\n${color grey}RAM Usage:$color $mem\/$memmax - $memperc% ${membar 4}\n${color grey}Swap Usage:$color $swap\/$swapmax - $swapperc% ${swapbar 4}\n${color grey}CPU History:${color} ${cpugraph 30,0 000000 ffffff}\n${color grey}CPU Usage:$color $cpu% ${cpubar 4}\n${color grey}Processes:$color $processes  ${color grey}Running:$color $running_processes\n$hr\n${color goldenrod}File systems:${color}\n \/ $color${fs_used \/}\/${fs_size \/} ${fs_bar 6 \/}\n$hr\n${color goldenrod}Network:${color}\n${if_match \"${addr enp2s0}\"!=\"No Address\"}enp2s0: ${addr enp2s0}\n${color grey}Up:$color ${upspeed enp2s0} ${goto 140}${color grey}Down:$color ${downspeed enp2s0}\n${upspeedgraph enp2s0 20,130 000000 ffffff}${goto 140}${downspeedgraph enp2s0 20,130 000000 ffffff}\n${else}${if_match \"${addr wlan0}\"!=\"No Address\"}wlan0: $wireless_essid ${wireless_bitrate wlan0} ${addr wlan0}\n${color grey}Up:$color ${upspeed wlan0} ${goto 140}${color grey}Down:$color ${downspeed wlan0}\n${upspeedgraph wlan0 20,130 000000 ffffff}${goto 140}${downspeedgraph wlan0 20,130 000000 ffffff}${else}${color red}No network${color}${endif}${endif}\n$hr\n${color goldenrod}Highest CPU:${color}\n${color grey}Name              PID   CPU%   MEM%\n${color lightgrey} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}\n${color lightgrey} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}\n${color lightgrey} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}\n${color lightgrey} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}\n${color lightgrey} ${top name 5} ${top pid 5} ${top cpu 5} ${top mem 5}\n]]\n<\/pre>\n\n\n\n<p>\u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0431\u043b\u043e\u043a \u0444\u0430\u0439\u043b\u0430 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u043e\u0442\u0432\u0435\u0447\u0430\u0435\u0442 \u0437\u0430 \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e\u0435 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u0432\u0438\u0434\u0436\u0435\u0442\u0430 \u043f\u043e\u0434 KDE:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"ini\" data-enlighter-theme=\"atomic\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"false\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">    own_window = true,\n    own_window_title = 'conky',\n    own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',\n    own_window_argb_visual = true,\n    own_window_argb_value = 0,\n    own_window_type = 'normal',\n<\/pre>\n\n\n\n<p>\u041f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e \u0444\u0438\u0448\u043a\u0443: \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u0441\u0435\u0442\u0435\u0432\u044b\u0445 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043e\u0432. \u0422.\u0435. \u0435\u0441\u043b\u0438 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d ethernet \u043a\u0430\u0431\u0435\u043b\u044c, \u0442\u043e \u043d\u0430 \u0432\u0438\u0434\u0436\u0435\u0442\u0435 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u0442\u0441\u044f \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u0438 \u043f\u0440\u0438\u0441\u0432\u043e\u0435\u043d\u043d\u044b\u0439 IP-\u0430\u0434\u0440\u0435\u0441. \u0415\u0441\u043b\u0438 \u0436\u0435 ethernet \u043d\u0435 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d, \u0430 \u0438\u0434\u0435\u0442 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0447\u0435\u0440\u0435\u0437 Wi-Fi \u0442\u043e\u0447\u043a\u0443 \u0434\u043e\u0441\u0442\u0443\u043f\u0430, \u0442\u043e \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u044e\u0442\u0441\u044f \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0442\u043e\u0447\u043a\u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u0430 (\u0438\u043c\u044f, \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c) \u0438 \u043e\u043f\u044f\u0442\u044c \u0436\u0435 IP-\u0430\u0434\u0440\u0435\u0441. \u0415\u0441\u043b\u0438 \u043d\u0435\u0442 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u043d\u0438 \u0441 \u043f\u0440\u043e\u0432\u043e\u0434\u043d\u044b\u043c \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043e\u043c, \u043d\u0438 \u0441 \u0431\u0435\u0441\u043f\u0440\u043e\u0432\u043e\u0434\u043d\u044b\u043c, \u043f\u0438\u0448\u0435\u0442\u0441\u044f &#171;No network&#187;.<br>\u0412\u043e\u0442 \u0431\u043b\u043e\u043a \u043a\u043e\u0434\u0430, \u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u0437\u0430 \u0442\u0430\u043a\u043e\u0435 \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u0435 (\u0434\u043b\u044f \u0443\u0434\u043e\u0431\u0441\u0442\u0432\u0430 \u0432\u043e\u0441\u043f\u0440\u0438\u044f\u0442\u0438\u044f \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u044b \u043e\u0442\u0441\u0442\u0443\u043f\u044b \u0438 \u043f\u0435\u0440\u0435\u043d\u043e\u0441\u044b \u0441\u0442\u0440\u043e\u043a):<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"ini\" data-enlighter-theme=\"atomic\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"false\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">${color goldenrod}Network:${color}\n${if_match \"${addr enp2s0}\"!=\"No Address\"}\n  enp2s0: ${addr enp2s0}\n  ${color grey}Up:$color ${upspeed enp2s0} ${goto 140}${color grey}Down:$color ${downspeed enp2s0}\n  ${upspeedgraph enp2s0 20,130 000000 ffffff}${goto 140}${downspeedgraph enp2s0 20,130 000000 ffffff}\n${else}\n  ${if_match \"${addr wlan0}\"!=\"No Address\"}\n    wlan0: $wireless_essid ${wireless_bitrate wlan0} ${addr wlan0}\n    ${color grey}Up:$color ${upspeed wlan0} ${goto 140}${color grey}Down:$color ${downspeed wlan0}\n    ${upspeedgraph wlan0 20,130 000000 ffffff}${goto 140}${downspeedgraph wlan0 20,130 000000 ffffff}\n  ${else}\n    ${color red}No network${color}\n  ${endif}\n${endif}\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u041f\u043e\u0441\u0442\u0430\u0432\u0438\u043b \u0441\u0435\u0431\u0435 Conky \u043d\u0430 \u043d\u043e\u0443\u0442 \u0441 Debian. \u041f\u043e\u0441\u043b\u0435 \u0440\u0430\u0437\u0431\u043e\u0440\u043e\u043a \u0441 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u043c\u0438 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c \u0432\u043e\u0442 \u0447\u0442\u043e: &hellip; <a href=\"https:\/\/tryon.ru\/?p=19\" class=\"more-link\">\u0414\u0430\u043b\u044c\u0448\u0435&#8230;<span class=\"screen-reader-text\">\u041c\u043e\u0439 Conky<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":20,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9,2,7],"tags":[],"class_list":["post-19","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-conky","category-debian","category-kde"],"_links":{"self":[{"href":"https:\/\/tryon.ru\/index.php?rest_route=\/wp\/v2\/posts\/19","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tryon.ru\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tryon.ru\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tryon.ru\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tryon.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=19"}],"version-history":[{"count":39,"href":"https:\/\/tryon.ru\/index.php?rest_route=\/wp\/v2\/posts\/19\/revisions"}],"predecessor-version":[{"id":165,"href":"https:\/\/tryon.ru\/index.php?rest_route=\/wp\/v2\/posts\/19\/revisions\/165"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tryon.ru\/index.php?rest_route=\/wp\/v2\/media\/20"}],"wp:attachment":[{"href":"https:\/\/tryon.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=19"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tryon.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=19"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tryon.ru\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=19"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}