CPU usage in percents. For SMP machines, the CPU number can be provided as an argument. ${cpu cpu0} is the total usage, and ${cpu cpuX} (X >= 1) are individual CPUs.
<para></para></listitem>
</varlistentry>
<varlistentry>
<term>
<command><option>cpubar</option></command>
<option>(cpu number) (height),(width)</option>
</term>
<listitem>
Bar that shows CPU usage, height is bar's height in pixels. See $cpu for more info on SMP.
Total size of system entropy pool for crypto freaks
<para></para></listitem>
</varlistentry>
<varlistentry>
<term>
<command><option>exec</option></command>
<option>command</option>
</term>
<listitem>
Executes a shell command and displays the output in conky. warning: this takes a lot more resources than other variables. I'd recommend coding wanted behaviour in C and posting a patch.
<para></para></listitem>
</varlistentry>
<varlistentry>
<term>
<command><option>execbar</option></command>
<option>command</option>
</term>
<listitem>
Same as exec, except if the first value return is a value between 0-100, it will use that number for a bar. The size for the bar is currently fixed, but that may change in the future.
<para></para></listitem>
</varlistentry>
<varlistentry>
<term>
<command><option>execgraph</option></command>
<option>command</option>
</term>
<listitem>
Same as execbar, but graphs values.
<para></para></listitem>
</varlistentry>
<varlistentry>
<term>
<command><option>execi</option></command>
<option>interval command</option>
</term>
<listitem>
Same as exec but with specific interval. Interval can't be less than update_interval in configuration. See also $texeci
<para></para></listitem>
</varlistentry>
<varlistentry>
<term>
<command><option>execibar</option></command>
<option>interval command</option>
</term>
<listitem>
Same as execbar, except with an interval
<para></para></listitem>
</varlistentry>
<varlistentry>
<term>
<command><option>execigraph</option></command>
<option>interval command</option>
</term>
<listitem>
Same as execgraph, but takes an interval arg graphs values
<para></para></listitem>
</varlistentry>
<varlistentry>
<term>
<command><option>execp</option></command>
<option>command</option>
</term>
<listitem>
Executes a shell command and displays the output in conky. warning: this takes a lot more resources than other variables. I'd recommend coding wanted behaviour in C and posting a patch. This differs from $exec in that it parses the output of the command, so you can insert things like ${color red}hi!${color} in your script and have it correctly parsed by Conky.
Caveats: Conky parses and evaluates the output of $execp every time Conky loops, and then destroys all the objects. If you try to use anything like $execi within an $execp statement, it will functionally run at the same interval that the $execp statement runs, as it is created and destroyed at every interval.
<para></para></listitem>
</varlistentry>
<varlistentry>
<term>
<command><option>execpi</option></command>
<option>interval command</option>
</term>
<listitem>
Same as execp but with specific interval. Interval can't be less than update_interval in configuration. Note that the output from the $execpi command is still parsed and evaluated at every interval.
<para></para></listitem>
</varlistentry>
<varlistentry>
<term>
<command><option>font</option></command>
<option>(font)</option>
</term>
<listitem>
Specify a different font. This new font will apply to the current line and everything following. You can use a $font with no arguments to change back to the default font (much like with $color)
Returns CPU frequency in GHz, but is calculated by counting to clock cycles to complete an instruction. Only available for x86/amd64.
<para></para></listitem>
</varlistentry>
<varlistentry>
<term>
<command><option>fs_bar</option></command>
<option>(height),(width) fs</option>
</term>
<listitem>
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.
<para></para></listitem>
</varlistentry>
<varlistentry>
<term>
<command><option>fs_free</option></command>
<option>(fs)</option>
</term>
<listitem>
Free space on a file system available for users.
<para></para></listitem>
</varlistentry>
<varlistentry>
<term>
<command><option>fs_free_perc</option></command>
<option>(fs)</option>
</term>
<listitem>
Free percentage of space on a file system available for users.
<para></para></listitem>
</varlistentry>
<varlistentry>
<term>
<command><option>fs_size</option></command>
<option>(fs)</option>
</term>
<listitem>
File system size
<para></para></listitem>
</varlistentry>
<varlistentry>
<term>
<command><option>fs_type</option></command>
<option>(fs)</option>
</term>
<listitem>
File system type
<para></para></listitem>
</varlistentry>
<varlistentry>
<term>
<command><option>fs_used</option></command>
<option>(fs)</option>
</term>
<listitem>
File system used space
<para></para></listitem>
</varlistentry>
<varlistentry>
<term>
<command><option>goto</option></command>
<option>x</option>
</term>
<listitem>
The next element will be printed at position 'x'.
<para></para></listitem>
</varlistentry>
<varlistentry>
<term>
<command><option>gw_iface</option></command>
</term>
<listitem>
Displays the default route's interface or "multiple"/"none" accordingly.
<para></para></listitem>
</varlistentry>
<varlistentry>
<term>
<command><option>gw_ip</option></command>
</term>
<listitem>
Displays the default gateway's IP or "multiple"/"none" accordingly.
<para></para></listitem>
</varlistentry>
<varlistentry>
<term>
<command><option>hddtemp</option></command>
<option>dev, (host,(port))</option>
</term>
<listitem>
Displays temperature of a selected hard disk drive as reported by the hddtemp daemon running on host:port.
Default host is 127.0.0.1, default port is 7634.
<para></para></listitem>
</varlistentry>
<varlistentry>
<term>
<command><option>head</option></command>
<option>logfile lines (interval)</option>
</term>
<listitem>
Displays first N lines of supplied text text file. If interval is not supplied, Conky assumes 2x Conky's interval. Max of 30 lines can be displayed, or until the text buffer is filled.
<para></para></listitem>
</varlistentry>
<varlistentry>
<term>
<command><option>hr</option></command>
<option>(height)</option>
</term>
<listitem>
Horizontal line, height is the height in pixels
<para></para></listitem>
</varlistentry>
<varlistentry>
<term>
<command><option>hwmon</option></command>
<option>(dev) type n</option>
</term>
<listitem>
Hwmon sensor from sysfs (Linux 2.6). Parameter dev may be omitted if you have only one hwmon device. Parameter type is either 'in' or 'vol' meaning voltage; 'fan' meaning fan; 'temp' (Celsius) or 'tempf' (Fahrenheit) meaning temperature. Parameter n is number of the sensor. See /sys/class/hwmon/ on your local computer.
<para></para></listitem>
</varlistentry>
<varlistentry>
<term>
<command><option>iconv_start</option></command>
<option>codeset_from codeset_to</option>
</term>
<listitem>
Convert text from one codeset to another using GNU iconv. Needs to be stopped with iconv_stop.
<para></para></listitem>
</varlistentry>
<varlistentry>
<term>
<command><option>iconv_stop</option></command>
<option></option>
</term>
<listitem>
Stop iconv codeset conversion.
<para></para></listitem>
</varlistentry>
<varlistentry>
<term>
<command><option>i2c</option></command>
<option>(dev) type n</option>
</term>
<listitem>
I2C sensor from sysfs (Linux 2.6). Parameter dev may be omitted if you have only one I2C device. Parameter type is either 'in' or 'vol' meaning voltage; 'fan' meaning fan; 'temp' (Celsius) or 'tempf' (Fahrenheit) meaning temperature. Parameter n is number of the sensor. See /sys/bus/i2c/devices/ on your local computer.
<para></para></listitem>
</varlistentry>
<varlistentry>
<term>
<command><option>i8k_ac_status</option></command>
<option></option>
</term>
<listitem>
If running the i8k kernel driver for Inspiron laptops, displays whether ac power is on, as listed in /proc/i8k (translated to human-readable). Beware that this is by default not enabled by i8k itself.
<para></para></listitem>
</varlistentry>
<varlistentry>
<term>
<command><option>i8k_bios</option></command>
<option></option>
</term>
<listitem>
If running the i8k kernel driver for Inspiron laptops, displays the bios version as listed in /proc/i8k.
If running the i8k kernel driver for Inspiron laptops, displays the left fan's rate of rotation, in revolutions per minute as listed in /proc/i8k. Beware, some laptops i8k reports these fans in reverse order.
If running the i8k kernel driver for Inspiron laptops, displays the left fan status as listed in /proc/i8k (translated to human-readable). Beware, some laptops i8k reports these fans in reverse order.
If running the i8k kernel driver for Inspiron laptops, displays the right fan's rate of rotation, in revolutions per minute as listed in /proc/i8k. Beware, some laptops i8k reports these fans in reverse order.
If running the i8k kernel driver for Inspiron laptops, displays the right fan status as listed in /proc/i8k (translated to human-readable). Beware, some laptops i8k reports these fans in reverse order.
<para></para></listitem>
</varlistentry>
<varlistentry>
<term>
<command><option>i8k_serial</option></command>
<option></option>
</term>
<listitem>
If running the i8k kernel driver for Inspiron laptops, displays your laptop serial number as listed in /proc/i8k.
<para></para></listitem>
</varlistentry>
<varlistentry>
<term>
<command><option>i8k_version</option></command>
<option></option>
</term>
<listitem>
If running the i8k kernel driver for Inspiron laptops, displays the version formatting of /proc/i8k.
<para></para></listitem>
</varlistentry>
<varlistentry>
<term>
<command><option>ibm_fan</option></command>
</term>
<listitem>
If running the IBM ACPI, displays the fan speed.
<para></para></listitem>
</varlistentry>
<varlistentry>
<term>
<command><option>ibm_temps</option></command>
<option>N</option>
</term>
<listitem>
If running the IBM ACPI, displays the temperatures
from the IBM temperature sensors (N=0..7) Sensor 0 is
on the CPU, 3 is on the GPU.
<para></para></listitem>
</varlistentry>
<varlistentry>
<term>
<command><option>ibm_volume</option></command>
</term>
<listitem>
If running the IBM ACPI, displays the "master" volume,
If running the IBM ACPI, displays the brigtness of the
laptops's LCD (0-7).
<para></para></listitem>
</varlistentry>
<varlistentry>
<term>
<command><option>if_empty</option></command>
<option>(var)</option>
</term>
<listitem>
if conky variable VAR is empty, display everything between $if_empty and the matching $endif
<para></para></listitem>
</varlistentry>
<varlistentry>
<term>
<command><option>if_gw</option></command>
</term>
<listitem>
if there is at least one default gateway, display everything between $if_gw and the matching $endif
<para></para></listitem>
</varlistentry>
<varlistentry>
<term>
<command><option>if_running</option></command>
<option>(process)</option>
</term>
<listitem>
if PROCESS is running, display everything $if_running and the matching $endif
<para></para></listitem>
</varlistentry>
<varlistentry>
<term>
<command><option>if_existing</option></command>
<option>file (string)</option>
</term>
<listitem>
if FILE exists, display everything between if_existing and the matching $endif. The optional second paramater checks for FILE containing the specified string and prints everything between $if_existing and the matching $endif.
<para></para></listitem>
</varlistentry>
<varlistentry>
<term>
<command><option>if_mounted</option></command>
<option>(mountpoint)</option>
</term>
<listitem>
if MOUNTPOINT is mounted, display everything between $if_mounted and the matching $endif
when using smapi, if the battery with index INDEX is installed, display everything between $if_smapi_bat_installed and the matching $endif
<para></para></listitem>
</varlistentry>
<varlistentry>
<term>
<command><option>if_up</option></command>
<option>(interface)</option>
</term>
<listitem>
if INTERFACE exists and is up, display everything between $if_up and the matching $endif
<para></para></listitem>
</varlistentry>
<varlistentry>
<term>
<command><option>imap_messages</option></command>
<option>(args)</option>
</term>
<listitem>
Displays the number of messages in your global IMAP inbox by default. You can define individual IMAP inboxes seperately by passing arguments to this object. Arguments are: "host user pass [-i interval] [-p port] [-e command]". Default port is 143, default interval is 5 minutes. If the password is supplied as '*', you will be prompted to enter the password when Conky starts.
<para></para></listitem>
</varlistentry>
<varlistentry>
<term>
<command><option>imap_unseen</option></command>
<option>(args)</option>
</term>
<listitem>
Displays the number of unseen messages in your global IMAP inbox by default. You can define individual IMAP inboxes seperately by passing arguments to this object. Arguments are: "host user pass [-i interval] [-p port] [-e command]". Default port is 143, default interval is 5 minutes. If the password is supplied as '*', you will be prompted to enter the password when Conky starts.
<para></para></listitem>
</varlistentry>
<varlistentry>
<term>
<command><option>ioscheduler</option></command>
<option>disk</option>
</term>
<listitem>
Prints the current ioscheduler used for the given disk name (i.e. e.g. "hda" or "sdb")
<para></para></listitem>
</varlistentry>
<varlistentry>
<term>
<command><option>kernel</option></command>
</term>
<listitem>
Kernel version
<para></para></listitem>
</varlistentry>
<varlistentry>
<term>
<command><option>laptop_mode</option></command>
</term>
<listitem>
The value of /proc/sys/vm/laptop_mode
<para></para></listitem>
</varlistentry>
<varlistentry>
<term>
<command><option>loadavg</option></command>
</term>
<listitem>
(1,2,3)> System load average, 1 is for past 1 minute, 2 for past 5 minutes and 3 for past 15 minutes.
Mail count in the specified mailbox or your mail spool if not.
Both mbox and maildir type mailboxes are supported. You can
use a program like fetchmail to get mails from some server
using your favourite protocol. See also new_mails.
<para></para></listitem>
</varlistentry>
<varlistentry>
<term>
<command><option>mboxscan</option></command>
<option>(-n number of messages to print) (-fw from width) (-sw subject width) mbox</option>
</term>
<listitem>
Print a summary of recent messages in an mbox format mailbox. mbox parameter is the filename of the mailbox (can be encapsulated using '"', ie. ${mboxscan -n 10 "/home/brenden/some box"}
Platform sensor from sysfs (Linux 2.6). Parameter dev may be omitted if you have only one platform device. Platform type is either 'in' or 'vol' meaning voltage; 'fan' meaning fan; 'temp' (Celsius) or 'tempf' (Fahrenheit) meaning temperature. Parameter n is number of the sensor. See /sys/bus/platform/devices/ on your local computer.
<para></para></listitem>
</varlistentry>
<varlistentry>
<term>
<command><option>pop3_unseen</option></command>
<option>(args)</option>
</term>
<listitem>
Displays the number of unseen messages in your global POP3 inbox by default. You can define individual POP3 inboxes seperately by passing arguments to this object. Arguments are: "host user pass [-i interval] [-p port] [-e command]". Default port is 110, default interval is 5 minutes. If the password is supplied as '*', you will be prompted to enter the password when Conky starts.
<para></para></listitem>
</varlistentry>
<varlistentry>
<term>
<command><option>pop3_used</option></command>
<option>(args)</option>
</term>
<listitem>
Displays the amount of space (in MiB, 2^20) used in your global POP3 inbox by default. You can define individual POP3 inboxes seperately by passing arguments to this object. Arguments are: "host user pass [-i interval] [-p port] [-e command]". Default port is 110, default interval is 5 minutes. If the password is supplied as '*', you will be prompted to enter the password when Conky starts.
<para></para></listitem>
</varlistentry>
<varlistentry>
<term>
<command><option>pre_exec</option></command>
<option>shell command</option>
</term>
<listitem>
Executes a shell command one time before conky displays anything and puts output as text.
Running processes (not sleeping), requires Linux 2.6
<para></para></listitem>
</varlistentry>
<varlistentry>
<term>
<command><option>shadecolor</option></command>
<option>(color)</option>
</term>
<listitem>
Change shading color
<para></para></listitem>
</varlistentry>
<varlistentry>
<term>
<command><option>smapi</option></command>
<option>(ARGS)</option>
</term>
<listitem>
when using smapi, display contents of the /sys/devices/platform/smapi directory. ARGS are either '(FILENAME)' or 'bat (INDEX) (FILENAME)' to display the corresponding files' content. This is a very raw method of accessing the smapi values. When available, better use one of the smapi_* variables instead.
when using smapi, display the remaining capacity in percent of the battery with index INDEX. This is a separate variable because it supports the 'use_spacer' configuration option.
<para></para></listitem>
</varlistentry>
<varlistentry>
<term>
<command><option>smapi_bat_bar</option></command>
<option>(INDEX),(height),(width)</option>
</term>
<listitem>
when using smapi, display the remaining capacity of the battery with index INDEX as a bar.
<para></para></listitem>
</varlistentry>
<varlistentry>
<term>
<command><option>stippled_hr</option></command>
<option>(space)</option>
</term>
<listitem>
Stippled (dashed) horizontal line
<para></para></listitem>
</varlistentry>
<varlistentry>
<term>
<command><option>swapbar</option></command>
<option>(height),(width)</option>
</term>
<listitem>
Bar that shows amount of swap in use
<para></para></listitem>
</varlistentry>
<varlistentry>
<term>
<command><option>swap</option></command>
</term>
<listitem>
Amount of swap in use
<para></para></listitem>
</varlistentry>
<varlistentry>
<term>
<command><option>swapmax</option></command>
</term>
<listitem>
Total amount of swap
<para></para></listitem>
</varlistentry>
<varlistentry>
<term>
<command><option>swapperc</option></command>
</term>
<listitem>
Percentage of swap in use
<para></para></listitem>
</varlistentry>
<varlistentry>
<term>
<command><option>sysname</option></command>
</term>
<listitem>
System name, Linux for example
<para></para></listitem>
</varlistentry>
<varlistentry>
<term>
<command><option>tcp_portmon</option></command>
<option>port_begin port_end item (index)</option>
<emphasis>(ip4 only at present)</emphasis>
</term>
<listitem>
TCP port monitor for specified local ports. Port numbers must be in the range 1 to 65535. Valid items are:
<simplelist>
<member><command>count</command> - total number of connections in the range
</member>
<member><command>rip</command> - remote ip address
<member><command>lport</command> - local port number
</member>
<member><command>lservice</command> - local service name from /etc/services
</member>
</simplelist>The connection index provides you with access to each connection in the port monitor. The monitor will return information for index values from 0 to n-1 connections. Values higher than n-1 are simply ignored. For the "count" item, the connection index must be omitted. It is required for all other items.
displays the local service name of the fifteenth connection in the range of all ports</member>
</simplelist>Note that port monitor variables which share the same port range actually refer to the same monitor, so many references to a single port range for different items and different indexes all use the same monitor internally. In other words, the program avoids creating redundant monitors.
</listitem>
</varlistentry>
<varlistentry>
<term>
<command><option>texeci</option></command>
<option>interval command</option>
</term>
<listitem>
Runs a command at an interval inside a thread and displays the output. Same as $execi, except the command is run inside a thread. Use this if you have a slow script to keep Conky updating. You should make the interval slightly longer then the time it takes your script to execute. For example, if you have a script that take 5 seconds to execute, you should make the interval at least 6 seconds. See also $execi.
Download and parse RSS feeds. Action may be one of the following: feed_title, item_title (with num par), item_desc (with num par) and item_titles.
<para></para></listitem>
</varlistentry>
<varlistentry>
<term>
<command><option>tab</option></command>
<option>(width, (start))</option>
</term>
<listitem>
Puts a tab of the specified width, starting from column 'start'.
<para></para></listitem>
</varlistentry>
<varlistentry>
<term>
<command><option>tail</option></command>
<option>logfile lines (interval)</option>
</term>
<listitem>
Displays last N lines of supplied text text file. If interval is not supplied, Conky assumes 2x Conky's interval. Max of 30 lines can be displayed, or until the text buffer is filled.
<para></para></listitem>
</varlistentry>
<varlistentry>
<term>
<command><option>time</option></command>
<option>(format)</option>
</term>
<listitem>
Local time, see man strftime to get more information about format
<para></para></listitem>
</varlistentry>
<varlistentry>
<term>
<command><option>utime</option></command>
<option>(format)</option>
</term>
<listitem>
Display time in UTC (universal coordinate time).
<para></para></listitem>
</varlistentry>
<varlistentry>
<term>
<command><option>tztime</option></command>
<option>(timezone) (format)</option>
</term>
<listitem>
Local time for specified timezone, see man strftime to get more information about format. The timezone argument is specified in similar fashion as TZ environment variable. For hints, look in /usr/share/zoneinfo. e.g. US/Pacific, Europe/Zurich, etc.
<para></para></listitem>
</varlistentry>
<varlistentry>
<term>
<command><option>totaldown</option></command>
<option>net</option>
</term>
<listitem>
Total download, overflows at 4 GB on Linux with 32-bit arch and there doesn't seem to be a way to know how many times it has already done that before conky has started.
<para></para></listitem>
</varlistentry>
<varlistentry>
<term>
<command><option>top</option></command>
<option>type, num</option>
</term>
<listitem>
This takes arguments in the form:top (name) (number) Basically, processes are ranked from highest to lowest in terms of cpu usage, which is what (num) represents. The types are: "name", "pid", "cpu", "mem", "mem_res", "mem_vsize", and "time". There can be a max of 10 processes listed.
<para></para></listitem>
</varlistentry>
<varlistentry>
<term>
<command><option>top_mem</option></command>
<option>type, num</option>
</term>
<listitem>
Same as top, except sorted by mem usage instead of cpu