Results 1 to 6 of 6

Thread: conky height with tail

  1. #1

    Default conky height with tail

    I want conky to tail /var/log/messages.
    The problem I have is that it displays about 2 1/2 lines (see screenshot below; top-left conky).

    Does anyone know if there is sth. I can modify in the configuration below to solve this?

    Code:
    alignment top_left
    background no
    use_xft yes
    xftalpha 0.5
    update_interval 1.0
    total_run_times 0
    own_window yes
    own_window_type override
    own_window_transparent yes
    own_window_hints below,sticky,skip_taskbar,skip_pager
    double_buffer yes
    maximum_width 900
    draw_shades no
    draw_outline no
    draw_borders no
    default_color blue
    gap_x 40
    gap_y 20
    no_buffers yes
    uppercase no
    cpu_avg_samples 2
    override_utf8_locale yes 
    use_spacer none
    
    
    TEXT
    ${execi 1 sudo /usr/bin/tail /var/log/messages | grep --invert-match "sudo"}


    Thanks in advance.
    Yours faithfully,
    a happy Suse new user.
    openSUSE 11.2 (x86_64)
    KDE 4.3.1 "release 6"
    2.6.31.8-0.1-desktop x86_64
    Intel(R) Core(TM)2 Quad CPU Q8200 @ 2.33GHz
    4GiB ram.

  2. #2

    Default Re: conky height with tail

    Think you're hitting the

    text_buffer_size bytes

    From conky implies that output from vars will be limited (default is 256 bytes). Now crudely counting I reckon that is what you have.
    Man first, have a try at Info, have a look at Wiki, if all that fails Scroogle!!!!!
    If I've helped click on the Rep button I don't know what it does but it sounds cool.

  3. #3

    Default Re: conky height with tail

    Man, you're a wise penguin!!!!
    SOLVED.
    openSUSE 11.2 (x86_64)
    KDE 4.3.1 "release 6"
    2.6.31.8-0.1-desktop x86_64
    Intel(R) Core(TM)2 Quad CPU Q8200 @ 2.33GHz
    4GiB ram.

  4. #4

    Default Re: conky height with tail

    You'll be one soon, just got to know where to look.

    OT
    Apologies whilst system logs was the other way to solve this. The actual daemon is now rsyslog for OS 11.2 I missed the change. But it is a little irrelevant if you're happy with your grep(More than 1 way to skin a cat).
    Man first, have a try at Info, have a look at Wiki, if all that fails Scroogle!!!!!
    If I've helped click on the Rep button I don't know what it does but it sounds cool.

  5. #5

    Default Re: conky height with tail

    I assume it's a question of patience and discipline, none of which I possess, although they are in my TO DO list.

    Concerning rsyslog, I am still trying to figure out how it works together and simultaneously with syslog and (optionally) syslog-ng.
    Thanks for the tip.
    openSUSE 11.2 (x86_64)
    KDE 4.3.1 "release 6"
    2.6.31.8-0.1-desktop x86_64
    Intel(R) Core(TM)2 Quad CPU Q8200 @ 2.33GHz
    4GiB ram.

  6. #6

    Default Re: conky height with tail

    Well rsyslog seems to use(Or can) the same syntax as syslog-ng as far as I can tell. syslog -> syslog-ng -> rsyslog. It seems a generation thing oldest being syslog any way here is the docs rsyslog documentation :: syslogd supporting MySQL and TCP :: rsyslog I really can't help more than that as I've never felt the need to tweak.

    The only bit of advice I can offer is perhaps a gui maybe more helpfully. For example I know Webmin does have a default module for syslogs but how exactly it works with rsyslog I'm not sure. I suspect it should be fine from a quick googling.
    Man first, have a try at Info, have a look at Wiki, if all that fails Scroogle!!!!!
    If I've helped click on the Rep button I don't know what it does but it sounds cool.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •