move conky.1
[monky] / README
1 conky(1)                                                              conky(1)
2
3
4
5 NAME
6        conky - a system monitor for X originally based on the torsmo code, but
7        more kickass.
8
9 SYNOPSIS
10        conky [options]
11
12 DESCRIPTION
13        Conky is a system monitor for X originally based on  the  torsmo  code.
14        Since  its original conception, Conky has changed a fair bit from its
15        predecessor.  Conky can display just about  anything,  either  on  your
16        root  desktop  or in its own window.  Conky has many built-in objects,
17        as well as the ability to execute programs and  scripts,  then  display
18        the output from stdout.
19
20        We  are  always  looking  for help, and anyone interested in becoming a
21        developer is welcome.  Please use the facilities at SourceForge to make
22        bug reports, feature requests, and submit patches.
23
24        Thanks for your interest in Conky.
25
26 COMPILING
27        To  compile and run Conky with all optional components (If you run Gen
28        too, see the "Ebuild" Section below):
29
30        ./configure            --prefix=/usr            --mandir=/usr/share/man
31        --infodir=/usr/share/info   --datadir=/usr/   share   --sysconfdir=/etc
32        --localstatedir=/var/lib   --enable-double-buffer   --enable-own-window
33        --enable-proc-uptime     --enable-mpd    --enable-xft    --enable-metar
34        --enable-seti
35
36        make
37
38        ./conky
39
40        Conky doesnt probably compile with other compilers than gcc  and  icc.
41        It  doesnt  compile  with C89 compiler and not even with pure C99.  It
42        uses few things that might not  exist:  strdup(),  strcasecmp(),  strn
43        casecmp(),  optarg  variable  with getopt() and long long (not in C89).
44        Crashes in file system statistics stuff when compiled with icc, I dont
45        know exactly why.
46
47        You  can disable drawing to own window feature in case you dont need
48        it by passing --disable-own-window to configure -script.
49
50        Conky is in Gentoos Portage. Simply  use  "emerge  conky"  to  install
51        conky.  There is also usually an up-to-date ebuild within Conkys pack
52        age or in CVS.
53
54 YOU SHOULD KNOW
55        Conky is generally very good on resources. However, certain objects  in
56        Conky  are  harder  on resources then others. In particular, the $tail,
57        $top, $font, and $graph objects are quite costly in comparison  to  the
58        rest of Conky.
59
60        If  you  do use them, please do not complain about memory or CPU usage,
61        unless you think something is  going  seriously  wrong  (mem  leak,  et
62        cetera).
63
64 OPTIONS
65        Command  line  options override configurations defined in configuration
66        file.
67
68        -V     Prints version and exits
69
70
71        -a ALIGNMENT
72               Text alignment on screen, {top,bottom}_{left,right}
73
74
75        -b     Use double buffering (eliminates flicker)
76
77
78        -c FILE
79               Config file to load instead of $HOME/.conkyrc
80
81
82        -d     Daemonize, fork to background
83
84
85        -f FONT
86               Font to use
87
88
89        -h     Prints command line help and exits
90
91
92        -o     Create own window to draw
93
94
95        -t TEXT
96               Text to render, remember single quotes, like -t  $uptime
97
98
99        -u SECONDS
100               Update interval
101
102
103        -w WIN_ID
104               Window id to draw
105
106
107        -x X_COORDINATE
108               X position
109
110
111        -y Y_COORDINATE
112               Y position
113
114
115 CONFIGURATION SETTINGS
116        Default configuration file  is  $HOME/.conkyrc  (can  be  changed  from
117        conky.c among other things). See conkyrc.sample. You might want to copy
118        it to $HOME/.conkyrc and then start modifying it.
119
120        alignment
121               Aligned position on screen, may  be  top_left,  top_right,  bot
122               tom_left, bottom_right
123
124
125        background
126               Boolean  value, if true, Conky will be forked to background when
127               started
128
129
130        on_bottom
131               Set conky on the bottom of all other applications
132
133
134        border_margin
135               Border margin in pixels
136
137
138        border_width
139               Border width in pixels
140
141
142        cpu_avg_samples
143               The number of samples to average for CPU monitoring
144
145
146        default_color
147               Default color and border color
148
149
150        default_shade_color
151               Default shading color and borders shading color
152
153
154        default_outline_color
155               Default outline color
156
157
158        double_buffer
159               Use the Xdbe extension? (eliminates flicker) It is highly recom
160               mended to use own window with this one so double buffer wont be
161               so big.
162
163
164        draw_borders
165               Draw borders around text?
166
167
168        draw_shades
169               Draw shades?
170
171
172        draw_outline
173               Draw outlines?
174
175
176        font   Font name in X, xfontsel can be used to get a nice font
177
178
179        gap_x  Gap between right or left border of screen, same as  passing  -x
180               at command line
181
182
183        gap_y  Gap  between  top or bottom border of screen, same as passing -y
184               at command line
185
186
187        no_buffers
188               Substract (file system) buffers from used memory?
189
190
191        mail_spool
192               Mail spool for mail checking
193
194
195        metar_station
196               METAR station code for weather, see http://www.wrh.noaa.gov/  if
197               you need to find your code.
198
199
200        metar_server
201               Define a custom METAR ftp server
202
203
204        metar_path
205               Path on server to use
206
207
208        minimum_size
209               Minimum size of window
210
211
212        mldonkey_hostname
213               Hostname for mldonkey stuff, defaults to localhost
214
215
216        mldonkey_port
217               Mldonkey port, 4001 default
218
219
220        mldonkey_login
221               Mldonkey login, default none
222
223
224        mldonkey_password
225               Mldonkey password, default none
226
227
228        mpd_host
229               Host of MPD server
230
231
232        mpd_post
233               Port of MPD server
234
235
236        mpd_password
237               MPD server password
238
239
240        net_avg_samples
241               The number of samples to average for net data
242
243
244        override_utf8_locale
245               Force UTF8? requires XFT
246
247
248        own_window
249               Boolean, create own window to draw?
250
251
252        pad_percents
253               Pad percentages to this many decimals (0 = no padding)
254
255
256        stippled_borders
257               Border stippling (dashing) in pixels
258
259
260        total_run_times
261               Total  number of times for Conky to update before quitting. Zero
262               makes Conky run forever
263
264
265        update_interval
266               Update interval in seconds
267
268
269        uppercase
270               Boolean value, if true, text is rendered in upper case
271
272
273        use_spacer
274               Adds spaces after certain objects to stop them from moving other
275               things around. Note that this only helps if you are using a mono
276               font, such as Bitstream Vera Sans Mono.
277
278
279        use_xft
280               Use Xft (anti-aliased font and stuff)
281
282
283        text   After this begins text to be formatted on screen
284
285
286 VARIABLES
287        Colors are parsed using XParsecolor(), there might be a list  of  them:
288        /usr/X11R6/lib/X11/rgb.txt.   Also,   http://sedition.com/perl/rgb.html
289        Color can be also in #rrggbb format (hex).  Note that  when  displaying
290        bytes,  power  is  1024 and not 1000 so 1M really means 1024*1024 bytes
291        and not 1000*1000.
292
293        addr (interface)
294               IP address for an interface
295
296
297        acpiacadapter
298               ACPI ac adapter state.
299
300
301        acpifan
302               ACPI fan state
303
304
305        acpitemp
306               ACPI temperature.
307
308
309        adt746xcpu
310               CPU temperature from therm_adt746x
311
312
313        adt746xfan
314               Fan speed from therm_adt746x
315
316
317        alignr (num)
318               Right-justify text, with space of N
319
320
321        alignc (num)
322               Align text to centre
323
324
325        battery (num)
326               Remaining capacity in ACPI or APM battery. ACPI  battery  number
327               can be given as argument (default is BAT0).
328
329
330        buffers
331               Amount of memory buffered
332
333
334        cached Amount of memory cached
335
336
337        color (color)
338               Change drawing color to color
339
340
341        cpu    CPU usage in percents
342
343
344        cpubar (height)
345               Bar that shows CPU usage, height is bars height in pixels
346
347
348        cpugraph (height, width, gradient colour 1, gradient colour 2)
349               CPU usage graph, with optional colours in hex, minus the #.
350
351
352        downspeed net
353               Download speed in kilobytes
354
355
356        downspeedf net
357               Download speed in kilobytes with one decimal
358
359
360        downspeedgraph  net, (height, width, gradient colour 1, gradient colour
361        2)
362               Download speed graph, colours defined in hex, minus the #.
363
364
365        else   Text to show if any of the above are not true
366
367
368        exec shell command
369               Executes a shell command and displays the output in conky. warn
370               ing: this takes a lot more resources than other  variables.  Id
371               recommend coding wanted behaviour in C and posting a patch.
372
373
374        execbar shell command
375               Same  as  exec,  except  if  the  first  value return is a value
376               between 0-100, it will use that number for a bar. The  size  for
377               the bar is currently fixed, but that may change in the future.
378
379
380        execgraph shell command
381               Same as execbar, but graphs values
382
383
384        execi interval, shell command
385               Same  as exec but with specific interval. Interval cant be less
386               than update_interval in configuration.
387
388
389        font font
390               Specify a different font. Only applies to one line.
391
392
393        fs_bar (height, fs)
394               Bar that shows how much space is used on a file  system.  height
395               is the height in pixels. fs is any file on that file system.
396
397
398        fs_free (fs)
399               Free space on a file system available for users.
400
401
402        fs_free_perc (fs)
403               Free percentage of space on a file system available for users.
404
405
406        fs_size (fs)
407               File system size
408
409
410        fs_used (fs)
411               File system used space
412
413
414        hr (height)
415               Horizontal line, height is the height in pixels
416
417
418        i2c (dev), type, n
419               I2C  sensor  from  sysfs  (Linux 2.6). dev may be omitted if you
420               have only one I2C device. type is either  in  (or  vol)  meaning
421               voltage, fan meaning fan or temp/tempf (first in C, second in F)
422               meaning  temperature.  n  is   number   of   the   sensor.   See
423               /sys/bus/i2c/devices/ on your local computer.
424
425
426        if_running (process)
427               if  PROCESS  is  running,  display everything if_running and the
428               matching $endif
429
430
431        if_existing (file)
432               if FILE exists, display everything between if_existing  and  the
433               matching $endif
434
435
436        if_mounted (mountpoint)
437               if  MOUNTPOINT is mounted, display everything between if_mounted
438               and the matching $endif
439
440
441        kernel Kernel version
442
443
444        linkstatus (interface)
445               Get the link status for wireless connections
446
447
448        loadavg
449               (1,2,3)> System load average, 1 is for past 1 minute, 2 for past
450               5 minutes and 3 for past 15 minutes.
451
452
453        machine
454               Machine, i686 for example
455
456
457        mails  Mail  count in mail spool. You can use program like fetchmail to
458               get mails from some server using your  favourite  protocol.  See
459               also new_mails.
460
461
462        mem    Amount of memory in use
463
464
465        membar (height)
466               Bar that shows amount of memory in use
467
468
469        memmax Total amount of memory
470
471
472        memperc
473               Percentage of memory in use
474
475
476        metar_ob_time
477               self-explanatory
478
479
480        metar_temp
481               self-explanatory
482
483
484        metar_tempf
485               temp in F
486
487
488        metar_windchill
489               self-explanatory
490
491
492        metar_dew_poin
493               self-explanatory
494
495
496        metar_rh
497               self-explanatory
498
499
500        metar_windspeed
501               self-explanatory
502
503
504        metar_winddir
505               self-explanatory
506
507
508        metar_swinddir
509               self-explanatory
510
511
512        metar_cloud
513               self-explanatory
514
515
516        metar_u2d_time
517               self-explanatory
518
519
520        ml_upload_counter
521               total session upload in mb
522
523
524        ml_download_counter
525               total session download in mb
526
527
528        ml_nshared_files
529               number of shared files
530
531
532        ml_shared_counter
533               total session shared in mb, buggy in some mldonkey versions
534
535
536        ml_tcp_upload_rate
537               tcp upload rate in kb/s
538
539
540        ml_tcp_download_rate
541               tcp download rate in kb/s
542
543
544        ml_udp_upload_rate
545               udp upload rate in kb/s
546
547
548        ml_udp_download_rate
549               udp download rate in kb/s
550
551
552        ml_ndownloaded_files
553               number of completed files
554
555
556        ml_ndownloading_files
557               number of downloading files
558
559
560        mpd_artist
561               Artist in current MPD song must be enabled at compile
562
563
564        mpd_album
565               Album in current MPD song
566
567
568        mpd_bar height
569               Bar of mpds progress
570
571
572        mpd_bitrate
573               Bitrate of current song
574
575
576        mpd_status
577               Playing, stopped, et cetera.
578
579
580        mpd_title
581               Title of current MPD song
582
583
584        mpd_vol
585               MPDs volume
586
587
588        mpd_elapsed
589               Songs elapsed time
590
591
592        mpd_length
593               Songs length
594
595
596        mpd_percent
597               Percent of songs progress
598
599
600        new_mails
601               Unread mail count in mail spool.
602
603
604        nodename
605               Hostname
606
607
608        outlinecolor (color)
609               Change outline color
610
611
612        pre_exec shell command
613               Executes a shell command one time before conky displays anything
614               and puts output as text.
615
616
617        processes
618               Total processes (sleeping and running)
619
620
621        running_processes
622               Running processes (not sleeping), requires Linux 2.6
623
624
625        shadecolor (color)
626               Change shading color
627
628
629        stippled_hr (space)
630               Stippled (dashed) horizontal line
631
632
633        swapbar (height)
634               Bar that shows amount of swap in use
635
636
637        swap   Amount of swap in use
638
639
640        swapmax
641               Total amount of swap
642
643
644        swapperc
645               Percentage of swap in use
646
647
648        sysname
649               System name, Linux for example
650
651
652        offse pixels
653               Move text over by N pixels
654
655
656        tail   logfile, lines interval> Displays last N lines of supplied  text
657               text file. If interval is not supplied, Conky assumes 2x Conkys
658               interval. Max of 30 lines. Max of 30 lines can be displayed.
659
660
661        time (format)
662               Local time, see man strftime to get more information about  for
663               mat
664
665
666        totaldown net
667               Total  download, overflows at 4 GB on Linux with 32-bit arch and
668               there doesnt seem to be a way to know how  many  times  it  has
669               already done that before conky has started.
670
671
672        top type, num
673               This  takes arguments in the form:top (name) (number) Basically,
674               processes are ranked from highest to  lowest  in  terms  of  cpu
675               usage,  which  is  what (num) represents. The types are: "name",
676               "pid", "cpu", and mem". There can  be  a  max  of  10  processes
677               listed.
678
679
680        top_mem type, num
681               Same as top, except sorted by mem usage instead of cpu
682
683
684        totalup net
685               Total upload, this one too, may overflow
686
687
688        updates Number of updates
689               for debugging
690
691
692        upspeed net
693               Upload speed in kilobytes
694
695
696        upspeedf net
697               Upload speed in kilobytes with one decimal
698
699
700        upspeedgraph net, (height, width, gradient colour 1, gradient colour 2)
701               Upload speed graph, colours defined in hex, minus the #.
702
703
704        uptime Uptime
705
706
707        uptime_short
708               Uptime in a shorter format
709
710
711        seti_prog
712               Seti@home current progress
713
714
715        seti_progbar (height)
716               Seti@home current progress bar
717
718
719        seti_credit
720               Seti@home total user credit
721
722
723 EXAMPLES
724        conky -t${time %D %H:%m}-o -u 30
725               Start Conky in its own window with date and clock as text and 30
726               sec update interval.
727
728        conky -a top_left -x 5 -y 500 -d
729               Start Conky to background at coordinates (5, 500).
730
731 FILES
732        ~/.conkyrc default configuration file
733
734 BUGS
735        Drawing to root or some other desktop window directly doesnt work with
736        all window managers. Especially doesnt work well with Gnome and it has
737        been reported that it doesnt work with KDE  either.  Nautilus  can  be
738        disabled  from  drawing  to  desktop with program gconf-editor. Uncheck
739        show_desktop in /apps/nautilus/preferences/.  There  is  -w  switch  in
740        Conky  to  set  some  specific window id. You might find xwininfo -tree
741        useful to find the window to draw to. You  can  also  use  -o  argument
742        which makes Conky to create its own window.
743
744 SEE ALSO
745        http://conky.sourceforge.net
746
747        http://www.sourceforge.net/projects/conky
748
749        #conky on irc.freenode.net
750
751 AUTHORS
752        The Conky dev team. Whats up now??!
753
754
755
756                                   2005-08-18                          conky(1)