How do I run Multiple commands for every x secondsHow to write bash script to configure my displays when HDMI...

Social leper versus social leopard

Debussy as term for bathroom?

In a jam session, when asked which key my non-transposing instrument (like a violin) is in, what do I answer?

GitHub repo with Apache License version 2 in package.json, but no full license copy nor comment headers

How to fix folder structure in Windows 7 and 10

Can multiple wall timers turn lights on or off when required?

Minimize taxes now that I earn more

CDG baggage claim before or after immigration?

Do things made of adamantine rust?

Why does NASA publish all the results/data it gets?

Is this a Sherman, and if so what model?

Is it true that, "just ten trading days represent 63 per cent of the returns of the past 50 years"?

As a discovery writer, how do I complete an unfinished novel (which has highly diverged from the original plot ) after a time-gap?

Escape the labyrinth!

How does one calculate the distribution of the Matt Colville way of rolling stats?

How do I improve in sight reading?

Spectrum of a Subspace of Matrices

Can planetary bodies have a second axis of rotation?

Is It Possible to Have Different Sea Levels, Eventually Causing New Landforms to Appear?

Circle divided by lines between a blue dots

Centrifugal force with Newton's third law?

Hiking with a mule or two?

What was the deeper meaning of Hermione wanting the cloak?

Can Bless or Bardic Inspiration help a creature from rolling a 1 on a death save?



How do I run Multiple commands for every x seconds


How to write bash script to configure my displays when HDMI is plugged in or unpluggedRun multiple scripts and continue until every script is donehow to run multiple commands with awk via ssh?Perform command every X secondsHow to get a deterministic complete dump of all iptables rules?Run Concurrent Instances of a Command Inside a Shell Scriptssh to multiple servers and run the application specific commands rather than OS commandsdelayed bash script execution after boot






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







0















I need help in creating a script that i can run by ssh into below firewall ip for every ten seconds from a linux machine. I have to save all the commands output to a file that is readable



Firewall ip: 10.121.8.100



these two run only one time (first time)



set cli pager off
set cli scripting-mode on


these four commands should run in the below order for every ten seconds



show running resource-monitor ingress-backlogs
show running resource-monitor second last 10
show session info
show counter global filter delta yes









share|improve this question









New contributor



Kumar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




























    0















    I need help in creating a script that i can run by ssh into below firewall ip for every ten seconds from a linux machine. I have to save all the commands output to a file that is readable



    Firewall ip: 10.121.8.100



    these two run only one time (first time)



    set cli pager off
    set cli scripting-mode on


    these four commands should run in the below order for every ten seconds



    show running resource-monitor ingress-backlogs
    show running resource-monitor second last 10
    show session info
    show counter global filter delta yes









    share|improve this question









    New contributor



    Kumar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.
























      0












      0








      0








      I need help in creating a script that i can run by ssh into below firewall ip for every ten seconds from a linux machine. I have to save all the commands output to a file that is readable



      Firewall ip: 10.121.8.100



      these two run only one time (first time)



      set cli pager off
      set cli scripting-mode on


      these four commands should run in the below order for every ten seconds



      show running resource-monitor ingress-backlogs
      show running resource-monitor second last 10
      show session info
      show counter global filter delta yes









      share|improve this question









      New contributor



      Kumar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      I need help in creating a script that i can run by ssh into below firewall ip for every ten seconds from a linux machine. I have to save all the commands output to a file that is readable



      Firewall ip: 10.121.8.100



      these two run only one time (first time)



      set cli pager off
      set cli scripting-mode on


      these four commands should run in the below order for every ten seconds



      show running resource-monitor ingress-backlogs
      show running resource-monitor second last 10
      show session info
      show counter global filter delta yes






      shell-script ssh firewall






      share|improve this question









      New contributor



      Kumar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.










      share|improve this question









      New contributor



      Kumar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      share|improve this question




      share|improve this question








      edited 32 mins ago









      Archemar

      21.5k9 gold badges42 silver badges77 bronze badges




      21.5k9 gold badges42 silver badges77 bronze badges






      New contributor



      Kumar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      asked 38 mins ago









      KumarKumar

      1




      1




      New contributor



      Kumar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.




      New contributor




      Kumar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.



























          0






          active

          oldest

          votes














          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "106"
          };
          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',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });







          Kumar is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded
















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f542553%2fhow-do-i-run-multiple-commands-for-every-x-seconds%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          Kumar is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded

















          Kumar is a new contributor. Be nice, and check out our Code of Conduct.













          Kumar is a new contributor. Be nice, and check out our Code of Conduct.












          Kumar is a new contributor. Be nice, and check out our Code of Conduct.
















          Thanks for contributing an answer to Unix & Linux Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f542553%2fhow-do-i-run-multiple-commands-for-every-x-seconds%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

          Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

          Nicolae Petrescu-Găină Cuprins Biografie | Opera | In memoriam | Varia | Controverse, incertitudini...