自己整理使用的conky:簡單才是硬道理

Conky, a system monitor, based on torsmo

Any original torsmo code is licensed under the BSD license

All code written since the fork of torsmo is licensed under the GPL

Please see COPYING for details

Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen

Copyright (c) 2005-2010 Brenden Matthews, Philip Kovacs, et. al. (see AUTHORS)

All rights reserved.

This program is free software: you can redistribute it and/or modify

it under the terms of the GNU General Public License as published by

the Free Software Foundation, either version 3 of the License, or

(at your option) any later version.

This program is distributed in the hope that it will be useful,

but WITHOUT ANY WARRANTY; without even the implied warranty of

MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the

GNU General Public License for more details.

You should have received a copy of the GNU General Public License

along with this program. If not, see http://www.gnu.org/licenses/.

########################

全局屬性參數(shù)

#######################

# Performance Settings

alignment top_left
background no
border_width 1
cpu_avg_samples 2
net_avg_samples 2
no_buffers yes
out_to_console no
out_to_stderr no
extra_newline no
stippled_borders 0
update_interval 1.0
uppercase no
use_spacer none
show_graph_scale no
show_graph_range no

Size and position

gap_x 5
gap_y 10
minimum_size 5 5

Window Settings

own_window no
own_window_transparent yes
own_window_class Conky
own_window_type desktop

Window border

draw_borders no
draw_graph_borders yes
draw_outline no
draw_shades no

Default Color

default_color lightgrey
default_outline_color lightgrey
default_shade_color white

Default Fonts

use_xft yes
xftfont DejaVu Sans Mono:size=12

##############################################

Output

##############################################
TEXT
########################

系統(tǒng)機(jī)器參數(shù)

#######################
${color grey}Operation System:${alignr}$color${scroll 16 $nodename - $sysname $kernel on $machine | }
$hr
########################

日期

#######################
${color grey}Date:${alignr}${color}${time %B %d %A}
${color grey}Time:${color}${time %H:%M:%S}${alignr}${color grey}Uptime:${color} $uptime
########################

系統(tǒng)運(yùn)行信息

#######################
########################

進(jìn)程

#######################
${color grey}System Load:$alignr ${color}${loadavg 1} ${loadavg 2} ${loadavg 3}
${color grey}Processes:$color $processes ${color grey}Running:$color $running_processes
$stippled_hr
${color grey}Name PID CPU% MEM%
${color lightgrey} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color lightgrey} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color lightgrey} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color lightgrey} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
########################

CPU

#######################
${color grey}System Monitoring:$stippled_hr
${color grey}CPU Frequency (in MHz):$color ${alignr}$freq MHz

${color grey}CPU Frequency (in GHz):$color ${alignr}$freq_g GHz

${color grey}CPU Usage:$color $cpu% ${cpubar}
${cpugraph}

core1: ${cpu cpu0}%${cpubar cpu0}

core2: ${cpu cpu1}%${cpubar cpu1}

core3: ${cpu cpu2}%${cpubar cpu2}

core4: ${cpu cpu3}%${cpubar cpu3}

${cpugraph cpu0 20,46} ${cpugraph cpu1 20,46} ${cpugraph cpu2 20,46} ${cpugraph cpu3 20,46}

########################

內(nèi)存

#######################
${color grey}RAM Usage:$color $mem/$memmax - $memperc% ${membar 4}
${color grey}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar 4}

${memgraph}

########################

文件系統(tǒng)

#######################
${color grey}File systems:$stippled_hr
/ $color${fs_used /}/${fs_size /} ${fs_bar 6 /}
${color grey}Disk I/O:$color$diskio
${diskiograph /dev/sda8}
########################

網(wǎng)絡(luò)

#######################

網(wǎng)絡(luò)信息#####

${color grey}Network:$stippled_hr
${color grey}Ethernet IP:${alignr} $color${addr wlan0}
${color grey}WiFi IP:${alignr}$color${addr wlan0}
${color grey}GateWay:${alignr}$color$gw_ip

wifi信號

Signal:

${wireless_link_qual wlan0}%

${wireless_link_bar 8,110 wlan0}

流量監(jiān)控#####

upspeed 上傳速度

upspeedgraph 上傳圖形

totalup 上傳流量

${color grey}Upload:$color${upspeed eth0}/s ${alignr}${color grey}Traffic:$color${totalup eth0}
${upspeedgraph wlan0 CE5C00 E07A1F}
#######

downspeed 下載速度

downspeedgraph 下載圖形

totaldown 下載流量

${color grey}Download:$color${downspeed eth0}/s ${alignr}${color grey}Traffic:$color${totaldown eth0}
${downspeedgraph eth0 CE5C00 E07A1F}
#######################

上傳下載左右分布

#######################
${color grey}Down: ${downspeed eth0}/s $alignr ${color grey}Up:${upspeed eth0}/s
${downspeedgraph eth0 30,100}$alignr ${upspeedgraph eth0 30,100}
########################

音樂播放器 MPD

#######################
${color grey}Music Player Daemo(MPD):$stippled_hr
${color grey}MPD:$alignc$color$mpd_smart
${color}$mpd_bar
${color grey}Process:$alignc$color$mpd_elapsed/$mpd_length=$mpd_percent% $alignr ${color grey}Bitrate:${color}$mpd_bitrate
${color grey}Status:$alignc$color$mpd_status$alignr ${color grey}Random:$color$mpd_random$alignr ${color grey}Repeat:$color$mpd_repeat
${color grey}Album:$color$mpd_album
${color grey}File:$color${scroll 16 $mpd_file}

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時請結(jié)合常識與多方信息審慎甄別。
平臺聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡書系信息發(fā)布平臺,僅提供信息存儲服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容