pad_percents Pad percentages to this many decimals (0 = no
padding)
stippled_borders Border stippling (dashing) in pixels
- top_sort_cpu Set to yes to sort top output by cpu
- set to no to sort by mem usage
total_run_times Total number of times for Conky to update before
quitting. Zero makes Conky run forever
update_interval Update interval in seconds
The types are: "name", "pid", "cpu", and
"mem".
There can be a max of 10 processes listed.
+ top_mem type, num Same as top, except sorted by mem usage
+ instead of cpu
totalup net Total upload, this one too, may overflow
updates Number of updates (for debugging)
upspeed net Upload speed in kilobytes
#ifdef XFT
if (use_xft) {
XGlyphInfo gi;
- XftTextExtents8(display, xftfont, s, l, &gi);
+ XftTextExtentsUtf8(display, xftfont, s, l, &gi);
return gi.xOff;
} else
#endif
char *logfile;
double last_update;
float interval;
- char buffer[TEXT_BUFFER_SIZE*4];
+ char buffer[TEXT_BUFFER_SIZE];
} tail;
struct {
# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer no
-# Set to no to sort top output by mem usage instead of cpu
-top_sort_cpu yes
-
# mldonkey_hostname Hostname for mldonkey stuff, defaults to localhost
# mldonkey_port Mldonkey port, 4001 default
# mldonkey_login Mldonkey login, default none
# The types are: "name", "pid", "cpu", and
# "mem".
# There can be a max of 10 processes listed.
+# top_mem type, num Same as top, except sorted by mem usage
+# instead of cpu
# totalup net Total upload, this one too, may overflow
# updates Number of updates (for debugging)
# upspeed net Upload speed in kilobytes
static struct sysinfo s_info;
-#define TEXT_BUFFER_SIZE (1024*4)
-
static int show_nice_processes;
void prepare_update()