conky: update_interval

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP


.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty margin-bottom:0;







up vote
1
down vote

favorite












I´ve got a question regarding a specific part of a conky-config.



I understand that by setting the update_interval parameter to 1.0 the whole conky application updates
every second.



What I want to achieve is excluding a particular part of what conky monitors and assigning another update interval to it.
In other words: overriding the settings of update_interval but only for a particular part of conky.



E.g.:



I have a line that looks like this (monitoring my USB-stick 1):



$color SlateBlue1stick1:$fs_used /media/rosika/28BC-DAFC/$fs_size /media/rosika/28BC-DAFC used:$fs_used_perc /media/rosika/28BC-DAFC% $fs_bar /media/rosika/28BC-DAFC


But as there´s no point in updating the values of that stick every second I´d like it to set to e.g. 2 hours.
Is that that possible at all?



P.S.:



System: Linux/Lubuntu 16.04.5 LTS, 64 bit







share|improve this question

























    up vote
    1
    down vote

    favorite












    I´ve got a question regarding a specific part of a conky-config.



    I understand that by setting the update_interval parameter to 1.0 the whole conky application updates
    every second.



    What I want to achieve is excluding a particular part of what conky monitors and assigning another update interval to it.
    In other words: overriding the settings of update_interval but only for a particular part of conky.



    E.g.:



    I have a line that looks like this (monitoring my USB-stick 1):



    $color SlateBlue1stick1:$fs_used /media/rosika/28BC-DAFC/$fs_size /media/rosika/28BC-DAFC used:$fs_used_perc /media/rosika/28BC-DAFC% $fs_bar /media/rosika/28BC-DAFC


    But as there´s no point in updating the values of that stick every second I´d like it to set to e.g. 2 hours.
    Is that that possible at all?



    P.S.:



    System: Linux/Lubuntu 16.04.5 LTS, 64 bit







    share|improve this question





















      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      I´ve got a question regarding a specific part of a conky-config.



      I understand that by setting the update_interval parameter to 1.0 the whole conky application updates
      every second.



      What I want to achieve is excluding a particular part of what conky monitors and assigning another update interval to it.
      In other words: overriding the settings of update_interval but only for a particular part of conky.



      E.g.:



      I have a line that looks like this (monitoring my USB-stick 1):



      $color SlateBlue1stick1:$fs_used /media/rosika/28BC-DAFC/$fs_size /media/rosika/28BC-DAFC used:$fs_used_perc /media/rosika/28BC-DAFC% $fs_bar /media/rosika/28BC-DAFC


      But as there´s no point in updating the values of that stick every second I´d like it to set to e.g. 2 hours.
      Is that that possible at all?



      P.S.:



      System: Linux/Lubuntu 16.04.5 LTS, 64 bit







      share|improve this question











      I´ve got a question regarding a specific part of a conky-config.



      I understand that by setting the update_interval parameter to 1.0 the whole conky application updates
      every second.



      What I want to achieve is excluding a particular part of what conky monitors and assigning another update interval to it.
      In other words: overriding the settings of update_interval but only for a particular part of conky.



      E.g.:



      I have a line that looks like this (monitoring my USB-stick 1):



      $color SlateBlue1stick1:$fs_used /media/rosika/28BC-DAFC/$fs_size /media/rosika/28BC-DAFC used:$fs_used_perc /media/rosika/28BC-DAFC% $fs_bar /media/rosika/28BC-DAFC


      But as there´s no point in updating the values of that stick every second I´d like it to set to e.g. 2 hours.
      Is that that possible at all?



      P.S.:



      System: Linux/Lubuntu 16.04.5 LTS, 64 bit









      share|improve this question










      share|improve this question




      share|improve this question









      asked 4 hours ago









      Rosika

      709




      709




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          For fs_bar it is possible to use execibar, something like this:



          $execibar 7200 fs_bar /media/rosika/28BC-DAFC


          7200: 2 Hours in second.




          However for fs_used_perc and fs_size we have to use execi to run system commands to get our desired data.



          For fs_size:



          $execi 7200 df -h --output=size /media/rosika/28BC-DAFC 


          For fs_used:



          $execi 7200 df -h --output=used /media/rosika/28BC-DAFC 





          share|improve this answer























          • Hi. Tnx a lot. Yet I have to say at least $execibar 5 fs_bar /home doesn´t work with me. Terminal says: sh: 1: fs_bar: not found and conky: reading exec value failed (perhaps it's not the correct format?). Perhaps we need a shell-command there, too? The other one I still have to try.
            – Rosika
            3 hours ago










          • @Rosika Your conky might not support execibar I'm on 18.04 so I can't test. run this command: man conky 2>/dev/null | grep execibar | wc -l if you get number 0 then your conky does not support execibar.
            – Ravexina
            3 hours ago










          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "89"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );








           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1062377%2fconky-update-interval%23new-answer', 'question_page');

          );

          Post as a guest






























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          0
          down vote













          For fs_bar it is possible to use execibar, something like this:



          $execibar 7200 fs_bar /media/rosika/28BC-DAFC


          7200: 2 Hours in second.




          However for fs_used_perc and fs_size we have to use execi to run system commands to get our desired data.



          For fs_size:



          $execi 7200 df -h --output=size /media/rosika/28BC-DAFC 


          For fs_used:



          $execi 7200 df -h --output=used /media/rosika/28BC-DAFC 





          share|improve this answer























          • Hi. Tnx a lot. Yet I have to say at least $execibar 5 fs_bar /home doesn´t work with me. Terminal says: sh: 1: fs_bar: not found and conky: reading exec value failed (perhaps it's not the correct format?). Perhaps we need a shell-command there, too? The other one I still have to try.
            – Rosika
            3 hours ago










          • @Rosika Your conky might not support execibar I'm on 18.04 so I can't test. run this command: man conky 2>/dev/null | grep execibar | wc -l if you get number 0 then your conky does not support execibar.
            – Ravexina
            3 hours ago














          up vote
          0
          down vote













          For fs_bar it is possible to use execibar, something like this:



          $execibar 7200 fs_bar /media/rosika/28BC-DAFC


          7200: 2 Hours in second.




          However for fs_used_perc and fs_size we have to use execi to run system commands to get our desired data.



          For fs_size:



          $execi 7200 df -h --output=size /media/rosika/28BC-DAFC 


          For fs_used:



          $execi 7200 df -h --output=used /media/rosika/28BC-DAFC 





          share|improve this answer























          • Hi. Tnx a lot. Yet I have to say at least $execibar 5 fs_bar /home doesn´t work with me. Terminal says: sh: 1: fs_bar: not found and conky: reading exec value failed (perhaps it's not the correct format?). Perhaps we need a shell-command there, too? The other one I still have to try.
            – Rosika
            3 hours ago










          • @Rosika Your conky might not support execibar I'm on 18.04 so I can't test. run this command: man conky 2>/dev/null | grep execibar | wc -l if you get number 0 then your conky does not support execibar.
            – Ravexina
            3 hours ago












          up vote
          0
          down vote










          up vote
          0
          down vote









          For fs_bar it is possible to use execibar, something like this:



          $execibar 7200 fs_bar /media/rosika/28BC-DAFC


          7200: 2 Hours in second.




          However for fs_used_perc and fs_size we have to use execi to run system commands to get our desired data.



          For fs_size:



          $execi 7200 df -h --output=size /media/rosika/28BC-DAFC 


          For fs_used:



          $execi 7200 df -h --output=used /media/rosika/28BC-DAFC 





          share|improve this answer















          For fs_bar it is possible to use execibar, something like this:



          $execibar 7200 fs_bar /media/rosika/28BC-DAFC


          7200: 2 Hours in second.




          However for fs_used_perc and fs_size we have to use execi to run system commands to get our desired data.



          For fs_size:



          $execi 7200 df -h --output=size /media/rosika/28BC-DAFC 


          For fs_used:



          $execi 7200 df -h --output=used /media/rosika/28BC-DAFC 






          share|improve this answer















          share|improve this answer



          share|improve this answer








          edited 3 hours ago


























          answered 3 hours ago









          Ravexina

          24k136185




          24k136185











          • Hi. Tnx a lot. Yet I have to say at least $execibar 5 fs_bar /home doesn´t work with me. Terminal says: sh: 1: fs_bar: not found and conky: reading exec value failed (perhaps it's not the correct format?). Perhaps we need a shell-command there, too? The other one I still have to try.
            – Rosika
            3 hours ago










          • @Rosika Your conky might not support execibar I'm on 18.04 so I can't test. run this command: man conky 2>/dev/null | grep execibar | wc -l if you get number 0 then your conky does not support execibar.
            – Ravexina
            3 hours ago
















          • Hi. Tnx a lot. Yet I have to say at least $execibar 5 fs_bar /home doesn´t work with me. Terminal says: sh: 1: fs_bar: not found and conky: reading exec value failed (perhaps it's not the correct format?). Perhaps we need a shell-command there, too? The other one I still have to try.
            – Rosika
            3 hours ago










          • @Rosika Your conky might not support execibar I'm on 18.04 so I can't test. run this command: man conky 2>/dev/null | grep execibar | wc -l if you get number 0 then your conky does not support execibar.
            – Ravexina
            3 hours ago















          Hi. Tnx a lot. Yet I have to say at least $execibar 5 fs_bar /home doesn´t work with me. Terminal says: sh: 1: fs_bar: not found and conky: reading exec value failed (perhaps it's not the correct format?). Perhaps we need a shell-command there, too? The other one I still have to try.
          – Rosika
          3 hours ago




          Hi. Tnx a lot. Yet I have to say at least $execibar 5 fs_bar /home doesn´t work with me. Terminal says: sh: 1: fs_bar: not found and conky: reading exec value failed (perhaps it's not the correct format?). Perhaps we need a shell-command there, too? The other one I still have to try.
          – Rosika
          3 hours ago












          @Rosika Your conky might not support execibar I'm on 18.04 so I can't test. run this command: man conky 2>/dev/null | grep execibar | wc -l if you get number 0 then your conky does not support execibar.
          – Ravexina
          3 hours ago




          @Rosika Your conky might not support execibar I'm on 18.04 so I can't test. run this command: man conky 2>/dev/null | grep execibar | wc -l if you get number 0 then your conky does not support execibar.
          – Ravexina
          3 hours ago












           

          draft saved


          draft discarded


























           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1062377%2fconky-update-interval%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          Which professions warranted travel in Medieval times?

          How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

          Trouble downloading packages list due to a “Hash sum mismatch” error