【备忘】Conky配置
贴配置:
background yes
use_xft yes
xftfont Sans:size=
xftalpha 0.8
update_interval own_window yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_type dock
own_window_transparent true
own_window_argb_visual true double_buffer yes minimum_size
maximum_width # Draw shades?
draw_shades no # Draw outlines?
draw_outline no # Draw borders around text
draw_borders no # Stippled borders?
stippled_borders no # border margins
# border_margin border_width default_color 37FF9E
default_shade_color white
default_outline_color white # Text alignment, other possible values are commented
# alignment top_left
# minimum_size
gap_x
gap_y
alignment top_right
# alignment bottom_left
# alignment bottom_right # Add spaces to keep things from moving about? This only affects certain objects.
use_spacer none # Subtract file system buffers from used memory?
no_buffers yes # set to yes if you want all text to be in uppercase
uppercase no # none, xmms, bmp, audacious, infopipe (default is none)
# xmms_player bmp # boinc (seti) dir
# seti_dir /opt/seti # Possible variables to be used:
#
# Variable Arguments Description
# acpiacadapter ACPI ac adapter state.
# acpifan ACPI fan state
# acpitemp ACPI temperature.
# adt746xcpu CPU temperature from therm_adt746x
# adt746xfan Fan speed from therm_adt746x
# battery (num) Remaining capasity in ACPI or APM
# battery. ACPI battery number can be
# given as argument (default is BAT0).
# buffers Amount of memory buffered
# cached Amount of memory cached
# color (color) Change drawing color to color
# cpu CPU usage in percents
# cpubar (height) Bar that shows CPU usage, height is
# bar's height in pixels
# downspeed net Download speed in kilobytes
# downspeedf net Download speed in kilobytes with one
# decimal
# exec shell command Executes a shell command and displays
# the output in torsmo. warning: this
# takes a lot more resources than other
# variables. I'd recommend coding wanted
# behaviour in C and posting a patch :-).
# execi interval, shell Same as exec but with specific interval.
# command Interval can't be less than
# update_interval in configuration.
# fs_bar (height), (fs) Bar that shows how much space is used on
# a file system. height is the height in
# pixels. fs is any file on that file
# system.
# fs_free (fs) Free space on a file system available
# for users.
# fs_free_perc (fs) Free percentage of space on a file
# system available for users.
# fs_size (fs) File system size
# fs_used (fs) File system used space
# hr (height) Horizontal line, height is the height in
# pixels
# i2c (dev), type, n I2C sensor from sysfs (Linux 2.6). dev
# may be omitted if you have only one I2C
# device. type is either in (or vol)
# meaning voltage, fan meaning fan or temp
# meaning temperature. n is number of the
# sensor. See /sys/bus/i2c/devices/ on
# your local computer.
# kernel Kernel version
# loadavg (), (), () System load average, is for past
# minute, for past minutes and for
# past minutes.
# machine Machine, i686 for example
# mails Mail count in mail spool. You can use
# program like fetchmail to get mails from
# some server using your favourite
# protocol. See also new_mails.
# mem Amount of memory in use
# membar (height) Bar that shows amount of memory in use
# memmax Total amount of memory
# memperc Percentage of memory in use
# new_mails Unread mail count in mail spool.
# nodename Hostname
# outlinecolor (color) Change outline color
# pre_exec shell command Executes a shell command one time before
# torsmo displays anything and puts output
# as text.
# processes Total processes (sleeping and running)
# running_processes Running processes (not sleeping),
# requires Linux 2.6
# shadecolor (color) Change shading color
# stippled_hr (space), Stippled (dashed) horizontal line
# (height)
# swapbar (height) Bar that shows amount of swap in use
# swap Amount of swap in use
# swapmax Total amount of swap
# swapperc Percentage of swap in use
# sysname System name, Linux for example
# time (format) Local time, see man strftime to get more
# information about format
# totaldown net Total download, overflows at GB on
# Linux with -bit arch and there doesn't
# seem to be a way to know how many times
# it has already done that before torsmo
# has started.
# totalup net Total upload, this one too, may overflow
# updates Number of updates (for debugging)
# upspeed net Upload speed in kilobytes
# upspeedf net Upload speed in kilobytes with one
# decimal
# uptime Uptime
# uptime_short Uptime in a shorter format
#
# seti_prog Seti@home current progress
# seti_progbar (height) Seti@home current progress bar
# seti_credit Seti@hoome total user credit # variable is given either in format $variable or in ${variable}. Latter
# allows characters right after the variable and must be used in network
# stuff because of an argument
# ${font Dungeon:style=Bold:pixelsize=}I can change the font as well
# ${font Verdana:size=}as many times as I choose
# ${font Perry:size=}Including UTF-,
# stuff after 'TEXT' will be formatted on screen
# ${font Grunge:size=}${time %a %b %d}${alignr -}${time %k:%M} TEXT
#SYSTEM ${hr }
Hostname: $alignr${nodename}
Machine:${alignr}${machine}
IP: ${alignr}${addr wlp2s0}
Kernel: ${alignr}${kernel}
Uptime: ${alignr}${uptime}
Temp: ${alignr}${acpitemp}°C
HDDTemp: ${alignr}${exec nc localhost | cut -c -}°C CPU0: ${alignr}${freq_g } GHz (${cpu cpu1}%)
${cpubar cpu1 }
CPU1: ${alignr}${freq_g } GHz (${cpu cpu2}%)
${cpubar cpu2 }
CPU2: ${alignr}${freq_g } GHz (${cpu cpu3}%)
${cpubar cpu3 }
CPU3: ${alignr}${freq_g } GHz (${cpu cpu4}%)
${cpubar cpu4 } RAM: ${alignr}${mem} / ${memmax} ($memperc%)
${membar }
Process: ${alignr}${processes} #FILE SYSTEM ${hr }
Swap: ${alignr}${swap} / ${swapmax}
${swapbar }
Root: ${alignr}${fs_used /} / ${fs_size /}${alignr}
${fs_bar /}
Home: ${alignr}${fs_used /home} / ${fs_size /home}${alignr}
${fs_bar /home}
Read: ${diskio_read /dev/sda}${alignr}Write: ${diskio_write /dev/sda} #NETWORK ${hr }
DownSpeed: ${downspeed wlp2s0}${alignr}UpSpeed: ${upspeed wlp2s0}
TotalDown: ${alignr}${totaldown wlp2s0}
TotalUp: ${alignr}${totalup wlp2s0} Top CPU Usage:
Name${alignr}PID -- RAM% -- CPU%
${top name }${alignr}${top pid } --${top mem } --${top cpu }
${top name }${alignr}${top pid } --${top mem } --${top cpu }
${top name }${alignr}${top pid } --${top mem } --${top cpu } Top RAM Usage:
Name${alignr}PID -- RAM% -- CPU%
${top_mem name }${alignr}${top_mem pid } --${top_mem mem } --${top_mem cpu }
${top_mem name }${alignr}${top_mem pid } --${top_mem mem } --${top_mem cpu }
${top_mem name }${alignr}${top_mem pid } --${top_mem mem } --${top_mem cpu }
用的ArchLinux
磁盘温度要装hddtemp,nc(net cat),再用systemctl设置hddtemp开机启动。
【备忘】Conky配置的更多相关文章
- 备忘Sourcetree配置
一. 设置用户名 对应路径:C:\Users\用户名\.gitconfig 二.验证账号 三.添加ssh key 创建ssh密码 保存key,路径:C:\Users\用户名\.ssh 配置Pagean ...
- (网页的缓存控制)HTML配置no-cache(备忘) “Cache-control”常见的取值
HTML配置no-cache(备忘) No-cache配置 html表头如下 <meta http-equiv="Content-Type" content="te ...
- ExtJs4常用配置方法备忘
viewport布局常用属性 new Ext.Viewport({ layout: "border", renderTo: Ext.getBody(), defaults: { b ...
- debian文本配置网络备忘:/etc/network/interfaces
我装了wheezy有gnome3,xfce4: 郁闷的是,不论在gnome还是xfce4中 我都无法图形登录或者切换用户到root: 而且我无法在普通用户下图形修改网络配置: 我也搜索不到启用root ...
- java开发微信公众平台备忘
简单记录下前段时间开发的电子书的 公众平台的一些备忘及开发心得经验等 eclipse的一些技巧: 1.ctrl+shift+o 自动添加必要import空间及移除无用import 项目备忘+说明 1. ...
- Nmap备忘单:从探索到漏洞利用(Part 5)
这是备忘单的最后一部分,在这里主要讲述漏洞评估和渗透测试. 数据库审计 列出数据库名称 nmap -sV --script=mysql-databases 192.168.195.130 上图并没有显 ...
- Nmap备忘单:从探索到漏洞利用(Part 4)
这是我们的Nmap备忘单的第四部分(Part 1. Part 2. Part 3).本文中我们将讨论更多东西关于扫描防火墙,IDS / IPS 逃逸,Web服务器渗透测试等.在此之前,我们应该了解一下 ...
- Linux常用命令速查备忘
Linux常用命令速查备忘 PS:备忘而已,详细的命令参数说明自己man 一. 启动,关机,登入,登出相关命令 [login] 登录 [logout] 登出 [exit] 登出 [shutdown ...
- Zookeeper + Hadoop + Hbase部署备忘
网上类似的文章很多,本文只是记录下来备忘.本文分四大步骤: 准备工作.安装zookeeper.安装hadoop.安装hbase,下面分别详细介绍: 一 准备工作 1. 下载 zookeeper.had ...
- SSO之CAS备忘
http://blog.chinaunix.net/uid-28380443-id-4740103.html 自己负责的公司基于CAS单点登录平台架构已经上线运行,很多细节的东西是时候备忘一下了,开源 ...
随机推荐
- [LeetCode] Game of Life 生命游戏
According to the Wikipedia's article: "The Game of Life, also known simply as Life, is a cellul ...
- Sass学习笔记
语法 @each $var in <list>//循环就是去遍历一个列表,然后从列表中取出对应的值 @while $types > 0 //循环直到函数不成立 SASS函数 To-u ...
- Sublime 插件- px 转rem
一个CSS的px值转rem值的Sublime Text 3自动完成插件. 插件效果如下: 安装 克隆项目 https://github.com/hyb628/cssrem.git 进入packag ...
- iconfont使用,亲测
iconfont对于前端应用来说有很多便捷: 1.自由变化大小 2.自由修改颜色 3.可以添加一些视觉效果如:阴影.旋转.透明度. 4.兼容IE6 在线引用和下载到本地两种方法 一.在线引用 图标的制 ...
- HTML组成与语法
http://blog.csdn.net/niushitang/article/details/8230014 <HTML> <HEAD> <TITLE& ...
- Jenkins 安装FAQ
1.对路径的访问被拒绝,如: 解决办法:以管理员模式进入DOS命令窗口,参考Jenkins安装中的第4步: 2.服务不能启动,提示: 解决办法:启动Windows Service(InstallU ...
- JQuery选择器JQuery 事件
JQuery 元素选择器 jQuery 使用 CSS 选择器来选取 HTML 元素. $("p") 选取 <p> 元素. $("p.intro") ...
- linux指令学习笔记(一)
1. 查看目录下有什么文件/目录 > ls //list列出目录的文件信息 > ls -l 或ll //list -list以“详细信息”查看目录文 ...
- 阿里云提示:对输入参数id未进行正确类型转义,导致整型注入的发生
类似以下提示: XXX.php中,对输入参数id未进行正确类型转义,导致整型注入的发生 解决办法: 找到对应文件:$id = $_GET['id']; 增加以下标红过滤: $id = $_GET['i ...
- PHP通过XML报文格式的POST请求方式,与第三方接口交互(发送xml,获取XML,并解析xml步骤)
开发者端:发送请求,并接收结果 <?php // 下面的demo,实现的功能如下: // 1-开发者需要判断一个用户是否存在,去请求第三方接口. // 2-与第三方接口的通信,是以xml格式传送 ...