华丽务实 安装Linux性能监测工具Conky
来源:互联网 发布:象棋哪个软件好 编辑:程序博客网 时间:2024/05/16 01:41
1.首先我们需要用命令安装,如果是在Linux Mint、Ubuntu和Debian可使用下面的命令进行安装:
sudo apt-get install conky-all
如果在Fedora中安装则用下面的命令:
yum install conky-all
2.大家可以从这个链接下载Conky所有文件:点击下载
3.下面就是下载的文件夹,手动解压缩。
下载解压缩
4.大家可以看到下面六个文件夹
解压缩文件
5.现在选择你需要的文件夹,例如:如果你想在Linux Mint中安装Conky就需要选择Conky Mint-lua,如果是想在Ubuntu中安装则需要选择Conky ubuntu-lua文件,以此类推。
原文地址:http://server.zol.com.cn/281/2818030.html
6.现在可以打开选择的文件夹,这里我们选择Conky ubuntu-lua文件夹,需要把conkyrc重命名为.conkyrc名称,并且移动这个文件到Home文件夹。
重命名并且移动
7.现在我们看到重命名的文件夹被移动到Home文件夹了。
home文件夹
8.现在你需要在Home文件夹里面创建一个.conky的文件夹。并把Conky ubuntu-lua里面的两个文件夹(clock_rings.lua与new-ubuntu-logo.peg)移动到该文件夹里面。
创建新文件夹
9.现在可以打开conkycr文件进行编辑,命令如下:
gedit .conky
10.现在在打开的文档中需要将/~.lua/scripts/clock_rings.lua改成~/.conky/clock_rings.lua 如下图:
改代码
原文地址:http://server.zol.com.cn/281/2818031.html
11.现在可以打开终端并且运行conky程序。
你可以根据需要设置你需要监测的东西,之后运行就可以看到如下图的配置,既美观又实用。
程序显示
最终效果
以上就是安装Conky的整个过程,可以看到安装处理的Conky在右侧显示非常美观, 可以说是美观与实用兼备,大家可以尝试安装一下,如果有任何需要,可以在评论里讨论。
原文地址:http://server.zol.com.cn/281/2818032.html
提供我自己的.conkyrc配置文件:
# Conky settings #background noupdate_interval 1cpu_avg_samples 2net_avg_samples 2override_utf8_locale yesdouble_buffer yesno_buffers yestext_buffer_size 2048#imlib_cache_size 0temperature_unit fahrenheit# Window specifications #own_window yesown_window_type overrideown_window_transparent yesown_window_hints undecorate,sticky,skip_taskbar,skip_pager,belowborder_inner_margin 0border_outer_margin 0minimum_size 185 0maximum_width 185alignment trgap_x 15gap_y 15# Graphics settings #draw_shades nodraw_outline nodraw_borders nodraw_graph_borders no# Text settings #use_xft yesxftfont caviar dreams:size=8xftalpha 0.5uppercase notemperature_unit celsiusdefault_color FFFFFF# Lua Load ##lua_load ~/.lua/scripts/clock_rings.lualua_load ~/.conky/clock_rings.lualua_draw_hook_pre clock_ringsTEXT${voffset 8}${color FF6600}${font caviar dreams:size=16}${time %A}${font}${voffset -8}${alignr 50}${color FFFFFF}${font caviar dreams:size=38}${time %e}${font}${color FFFFFF}${voffset -30}${color FFFFFF}${font caviar dreams:size=18}${time %b}${font}${voffset -3} ${color FFFFFF}${font caviar dreams:size=20}${time %Y}${font}${color FF6600}${hr}${voffset 140}${font caviar dreams:size=10}${alignr}HOME${font}${font caviar dreams:size=12}${color FFFFFF}${alignr}${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ LQBK temperature temperature 30} 掳C${font}${image ~/.conky/new-ubuntu-logo.png -p 64,125 -s 70x20}${color FFFFFF}${goto 25}${voffset 35}${cpu cpu0}%${color FF6600}${goto 25}CPU${color FFFFFF}${goto 50}${voffset 23}${memperc}%${color FF6600}${goto 50}RAM${color FFFFFF}${goto 75}${voffset 23}${swapperc}%${color FF6600}${goto 75}Swap${color FFFFFF}${goto 100}${voffset 23}${fs_used_perc /}%${color FF6600}${goto 100}Disk${color FFFFFF}${goto 125}${voffset 25}${downspeed eth0}${color FFFFFF}${goto 125}${upspeed eth0}${color FF6600}${goto 125}Net${color FFFFFF}${font caviar dreams:size=8}Uptime: ${uptime_short}${color FFFFFF}${font caviar dreams:size=8}Processes: ${processes}${color FFFFFF}${font caviar dreams:size=8}Running: ${running_processes}${color FF6600}${font caviar dreams:size=8}${alignr}${nodename}${color FF6600}${font caviar dreams:size=8}${alignr}${pre_exec cat /etc/issue.net} $machine${color FF6600}${font caviar dreams:size=8}${alignr}Kernel: ${kernel}
转载地址:http://server.zol.com.cn/281/2818030.html
- 华丽务实 安装Linux性能监测工具Conky
- 华丽务实 安装Linux性能监测工具Conky
- 「转」安装Linux性能监测工具Conky
- Linux 性能监测工具
- Linux 性能监测工具
- Linux 性能监测工具
- Linux 性能监测:工具
- Linux 性能监测工具
- Linux 性能监测:工具
- Linux 性能监测:工具
- Linux 性能监测工具
- Linux性能监测:监测目的与工具
- linux性能监测工具集
- Linux 性能监测工具解析
- Linux命令行性能监测工具
- linux性能监测工具perf
- Linux命令行性能监测工具
- Netdata安装和使用(Linux 性能实时监测工具)
- 最大熵模型
- UVa 10079 - Pizza Cutting
- 关于hasetable与ArryList用法举例
- 杭电Hd 2187
- 对于我的问题,老师给出的答案
- 华丽务实 安装Linux性能监测工具Conky
- oracle官方文档介绍
- Java反编译插件:Eclipse Class Decompiler
- 使用using和try/finally清理资源<.NET资源管理>
- tomcat官方网址
- hdu1068 Girls and Boys 最大独立集
- AS3灰色图像
- javax.jms.*包 使用参考
- 遇到多线程问题,关于MyDownload