Page 177 of 287 FirstFirst ... 77127167175176177178179187227277 ... LastLast
Results 1,761 to 1,770 of 2865

Thread: HOWTO: VinDSL Conky Script

  1. #1761
    Join Date
    Aug 2009
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: HOWTO: VinDSL Conky Script

    I have the same only different.



    I don't have header names or the PID as I don't have room. All I had room for was the top 3 processes.
    I was just wondering if I could put this in red in what I posted above: (you have to scroll to the right to see the red)

    Code:
    ##################################
    ##      PROCESSORS+TEMPS        ##
    ##################################
    ${voffset 4}${font DroidSans:bold:size=8}${color4}PROCESSORS+TEMPS${offset 8}${color6}${voffset -2}${hr 1}${font}
    ${voffset 4}${font StyleBats:size=9.9}${color2}k${voffset -2}${font DroidSansFallback:size=8.39}${color0}${offset 2}CPU1${offset 5}${font DroidSans:size=8.3}${cpu cpu1}%$alignr${if_match "${template9}" == "C"}${execi 1 sensors | grep 'Core 0' | sed 's/.*+\(.*\)  \(.*\)/\1/'}${else}${execi 1 sensors -f | grep 'Core 0' | sed 's/.*+\(.*\)  \(.*\)/\1/'}${endif}${font}
    ${voffset 4}${font StyleBats:size=9.9}${color2}k${voffset -2}${font DroidSansFallback:size=8.39}${color0}${offset 2}CPU2${offset 5}${font DroidSans:size=8.3}${cpu cpu2}%$alignr${if_match "${template9}" == "C"}${execi 1 sensors | grep 'Core 1' | sed 's/.*+\(.*\)  \(.*\)/\1/'}${else}${execi 1 sensors -f | grep 'Core 1' | sed 's/.*+\(.*\)  \(.*\)/\1/'}${endif}${font}
    ${voffset 4}${font StyleBats:size=9.9}${color2}k${voffset -2}${font DroidSansFallback:size=8.39}${color0}${offset 2}CPU3${offset 5}${font DroidSans:size=8.3}${cpu cpu3}%$alignr${if_match "${template9}" == "C"}${execi 1 sensors | grep 'Core 2' | sed 's/.*+\(.*\)  \(.*\)/\1/'}${else}${execi 1 sensors -f | grep 'Core 2' | sed 's/.*+\(.*\)  \(.*\)/\1/'}${endif}${font}
    ${voffset 4}${font StyleBats:size=9.9}${color2}k${voffset -2}${font DroidSansFallback:size=8.39}${color0}${offset 2}CPU4${offset 5}${font DroidSans:size=8.3}${cpu cpu4}%$alignr${if_match "${template9}" == "C"}${execi 1 sensors | grep 'Core 3' | sed 's/.*+\(.*\)  \(.*\)/\1/'}${else}${execi 1 sensors -f | grep 'Core 3' | sed 's/.*+\(.*\)  \(.*\)/\1/'}${endif}${font}
    ${voffset 4}${font StyleBats:size=9.9}${color2}k${voffset -2}${font DroidSansFallback:size=8.39}${color0}${offset 2}GPU Temperature: $alignr${if_match "${template9}" == "C"}${execi 1 nvidia-settings -q GPUCoreTemp | awk '{if (NR==2) {print ($4*1)}}'}°C${else}${execi 1 nvidia-settings -q GPUCoreTemp | awk '{if (NR==2) {print ($4*9)/5+32}}'}°F${endif}#
    ${lua main -n bargraph -p 90,172 -w 120 -s 3 -f cpu -a cpu1}#
    ${lua main -n bargraph -p 90,190 -w 120 -s 3 -f cpu -a cpu2}#
    ${lua main -n bargraph -p 90,207 -w 120 -s 3 -f cpu -a cpu3}#
    ${lua main -n bargraph -p 90,223 -w 120 -s 3 -f cpu -a cpu4}
    Execi is defined as the same as exec but with specific interval. I just want it updated quicker if possible.

    http://conky.sourceforge.net/variables.html

  2. #1762
    Join Date
    Aug 2009
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: HOWTO: VinDSL Conky Script

    I changed this from 2.0 seconds to 1.0 second.

    Code:
    ####
    ## Update interval in seconds.
    #
    update_interval 1.0
    Which seems to accomplish what I was aiming for. I see no ill effects so I guess I'll roll with it until I do.

  3. #1763
    Join Date
    Nov 2008
    Location
    Magdalena,New Mexico,USA
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: HOWTO: VinDSL Conky Script

    Quote Originally Posted by Cavsfan View Post
    I changed this from 2.0 seconds to 1.0 second.

    Code:
    ####
    ## Update interval in seconds.
    #
    update_interval 1.0
    Which seems to accomplish what I was aiming for. I see no ill effects so I guess I'll roll with it until I do.
    I was goiing to suggest that earlier, but it seemed too obvious.....
    Registered Linux User # 529389
    Arch Linux, MX 18.3 Linux
    my personal web page http://users.gilanet.com/~tfrost
    "If you're not living on the edge, you're taking up too much space"--Unknown

  4. #1764
    Join Date
    Aug 2009
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: HOWTO: VinDSL Conky Script

    Quote Originally Posted by NM5TF View Post
    I was going to suggest that earlier, but it seemed too obvious.....
    LoL! haha

    I changed it back to 2.0 seconds after I made the change described below because 1 second was freakishly fast.

    All this time I was thinking those were the top CPU processes when they were the top MEM processes. So I tweaked the spacing of everything and changed that part to be CPU processes.
    I managed to get all top 10 processes in there. I got rid of grub version as that was just taking up space. If I wanted to know that I know how to find out pretty readily.

    TOP and MEM conky elements both use the same components. TOP is CPU and MEM is well that is obvious.

    http://conky.sourceforge.net/variables.html

    I changed it to this:

    Code:
    ##################################
    ##      TOP CPU PROCESSES       ##
    ##################################
    ${voffset -24}${font DroidSans:bold:size=8}${color4}TOP CPU PROCESSES${offset 8}${color6}${voffset -2}${hr 1}${font}
    ${voffset 1}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color0}${offset 5}${top name 1}${goto 120}${font DroidSans:size=8.3}${top mem_res 1}${alignr}${top cpu 1}%${font}
    ${voffset 1}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color0}${offset 5}${top name 2}${goto 120}${font DroidSans:size=8.3}${top mem_res 2}${alignr}${top cpu 2}%${font}
    ${voffset 1}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color0}${offset 5}${top name 3}${goto 120}${font DroidSans:size=8.3}${top mem_res 3}${alignr}${top cpu 3}%${font}
    ${voffset 1}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color0}${offset 5}${top name 4}${goto 120}${font DroidSans:size=8.3}${top mem_res 4}${alignr}${top cpu 4}%${font}
    ${voffset 1}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color0}${offset 5}${top name 5}${goto 120}${font DroidSans:size=8.3}${top mem_res 5}${alignr}${top cpu 5}%${font}
    ${voffset 1}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color0}${offset 5}${top name 6}${goto 120}${font DroidSans:size=8.3}${top mem_res 6}${alignr}${top cpu 6}%${font}
    ${voffset 1}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color0}${offset 5}${top name 7}${goto 120}${font DroidSans:size=8.3}${top mem_res 7}${alignr}${top cpu 7}%${font}
    ${voffset 1}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color0}${offset 5}${top name 8}${goto 120}${font DroidSans:size=8.3}${top mem_res 8}${alignr}${top cpu 8}%${font}
    ${voffset 1}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color0}${offset 5}${top name 9}${goto 120}${font DroidSans:size=8.3}${top mem_res 9}${alignr}${top cpu 9}%${font}
    ${voffset 1}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color0}${offset 5}${top name 10}${goto 120}${font DroidSans:size=8.3}${top mem_res 10}${alignr}${top cpu 10}%${font}
    Now it shows exactly what I wanted to see: the top processes using up the CPU.



    Showing my age a little there on that song. Oddly enough my wife doesn't like it but I love it!

  5. #1765
    Join Date
    Feb 2012
    Location
    India
    Beans
    115
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: HOWTO: VinDSL Conky Script



    i am new to the conky . how to make my desktop as like this ?? help me with details procedure . thank you .

  6. #1766
    Join Date
    Nov 2008
    Location
    Magdalena,New Mexico,USA
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: HOWTO: VinDSL Conky Script

    hello @ramakanta.....

    first install conky...

    Code:
    sudo apt-get install conky-all
    then, go here to download conkywx program.....select the Debian based distro...

    http://foreverquest.blogspot.in/search/label/conkywx

    then go here to read about the program & set up/configuration files.....

    https://bitbucket.org/plikhari/conkywx_pub/wiki/Home

    if you need more help, come back to this forum....

    good luck & let us know how it goes for you....

    tommy
    Last edited by NM5TF; June 21st, 2014 at 07:02 PM.
    Registered Linux User # 529389
    Arch Linux, MX 18.3 Linux
    my personal web page http://users.gilanet.com/~tfrost
    "If you're not living on the edge, you're taking up too much space"--Unknown

  7. #1767
    Join Date
    Feb 2012
    Location
    India
    Beans
    115
    Distro
    Ubuntu 16.04 Xenial Xerus

    Unhappy Re: HOWTO: VinDSL Conky Script

    Quote Originally Posted by NM5TF View Post
    hello @ramakanta.....

    first install conky...

    Code:
    sudo apt-get install conky-all
    then, go here to download conkywx program.....select the Debian based distro...

    http://foreverquest.blogspot.in/search/label/conkywx

    then go here to read about the program & set up/configuration files.....

    https://bitbucket.org/plikhari/conkywx_pub/wiki/Home

    if you need more help, come back to this forum....

    good luck & let us know how it goes for you....

    tommy

    Finally my desktop conky looks like


    but I have facing some problem . first my cpu temp show good . after restart today it doesn't show any thing ..

    code..
    Temprature: ${hwmon 0 temp 1}°C

  8. #1768
    Join Date
    Nov 2008
    Location
    Magdalena,New Mexico,USA
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: HOWTO: VinDSL Conky Script

    it would be much easier to help if you showed us what your conky.rc code looks like....

    tommy
    Registered Linux User # 529389
    Arch Linux, MX 18.3 Linux
    my personal web page http://users.gilanet.com/~tfrost
    "If you're not living on the edge, you're taking up too much space"--Unknown

  9. #1769
    Join Date
    Aug 2009
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: HOWTO: VinDSL Conky Script

    Just thought I'd post my latest screen and cool new wallpaper. I'm really surprised how resilient conky is. I'm running 14.10 development version with systemd (you can see that as the last CPU process).
    And you can see that it's smoking hot here. Think I have developed heliophobia Went out for a while but indoors in a/c from now on!

    I went back to VinDSL's colors because they just look good.

    Last edited by Cavsfan; July 7th, 2014 at 03:48 PM.

  10. #1770

    Cool Re: HOWTO: VinDSL Conky Script

    Quote Originally Posted by ramakanta View Post
    Finally my desktop conky looks like

    Temprature: ${hwmon 0 temp 1}°C
    For some reason hwmon or platform is not working on some systems - work around

    Code:
    ${execi 6 sensors | grep 'Core 0' | sed 's/.*+\(.*\)  \(.*\)/\1/;s/\(.*\)\..*/\1/'}°C
    Better solution with sed would be - as we do not need grep in this case
    Code:
    ${execi 6 sensors | sed -n '/Core 0/{s/.*:[ ]*+\([0-9]*\).*/\1/p}'}°C
    This is for 1st core - change the zero to 1 for 2nd cpu and so on ...


    cheers
    Last edited by paramvir; July 7th, 2014 at 02:05 PM. Reason: better solution with only sed

Page 177 of 287 FirstFirst ... 77127167175176177178179187227277 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

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