Can gnu-screen periodically toggle between two virtual terminals?GNU screen: move between regionsDebian...

Can a PC use the Levitate spell to avoid movement speed reduction from exhaustion?

0xF1 opcode-prefix on i80286

Submitting a new paper just after another was accepted by the same journal

How would timezones work on a planet 100 times the size of our Earth

Is this curved text blend possible in Illustrator?

Generate Brainfuck for the numbers 1–255

A torrent of foreign terms

What is this "Table of astronomy" about?

Simplification of numbers

Is this n-speak?

Does Molecular Weight of a Gas affect its lifting properties at the same velocity over the same wing?

Safest way to store environment variable value in a file

How does "Te vas a cansar" mean "You're going to get tired"?

Heat equation: Squiggly lines

Is there a Morita cocycle for the mapping class group Mod(g,n) when n > 1?

Why did Gandalf use a sword against the Balrog?

Super Duper Vdd stiffening required on 555 timer, what is the best way?

A continuous water "planet" ring around a star

What gave Harry Potter the idea of writing in Tom Riddle's diary?

how do companies get money from being listed publicly

Can the ground attached to neutral fool a receptacle tester?

The cat ate your input again!

Is it okay for a ticket seller in the USA to refuse to give you your change, keep it for themselves and claim it's a tip?

Why did I get only 5 points even though I won?



Can gnu-screen periodically toggle between two virtual terminals?


GNU screen: move between regionsDebian Server - Autostart two Servers in one Screen SessionHow do I cycle through panes inside a window in tmux like in screen?Cron automated bash script to run run 1 bash script then another, plus integrity checkCombining local and remote terminal multiplexingHow to make a comprehensive set of possibilities for defining GNU-screen “command characters”?tmux with more terminals than panesautomate the title of gnu screen windows






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







0















I need a way to display two multiple running processes periodically on a system console so that I don't need to manually type commands to switch between the virtual terminals running them.



So for example, I can switch between my long running process and top every 10 seconds to watch both at the same time.



I thought gnu-screen would be ideal for this but can't find a way to automatically and periodically switch between two virtual terminals. Is there a command line switch that allows for this?










share|improve this question































    0















    I need a way to display two multiple running processes periodically on a system console so that I don't need to manually type commands to switch between the virtual terminals running them.



    So for example, I can switch between my long running process and top every 10 seconds to watch both at the same time.



    I thought gnu-screen would be ideal for this but can't find a way to automatically and periodically switch between two virtual terminals. Is there a command line switch that allows for this?










    share|improve this question



























      0












      0








      0








      I need a way to display two multiple running processes periodically on a system console so that I don't need to manually type commands to switch between the virtual terminals running them.



      So for example, I can switch between my long running process and top every 10 seconds to watch both at the same time.



      I thought gnu-screen would be ideal for this but can't find a way to automatically and periodically switch between two virtual terminals. Is there a command line switch that allows for this?










      share|improve this question














      I need a way to display two multiple running processes periodically on a system console so that I don't need to manually type commands to switch between the virtual terminals running them.



      So for example, I can switch between my long running process and top every 10 seconds to watch both at the same time.



      I thought gnu-screen would be ideal for this but can't find a way to automatically and periodically switch between two virtual terminals. Is there a command line switch that allows for this?







      gnu-screen






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 13 hours ago









      hhbillyhhbilly

      1262 bronze badges




      1262 bronze badges

























          1 Answer
          1






          active

          oldest

          votes


















          0














          After starting your screen session, run this (in another terminal):



          while sleep 10s ; do screen -X next ; done


          The -X option sends commands to an existing screen session, and next simply advances to the next window. So if your session only has the two windows, then this will switch from one to the other.






          share|improve this answer




























            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/3.0/"u003ecc by-sa 3.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
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f535206%2fcan-gnu-screen-periodically-toggle-between-two-virtual-terminals%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            After starting your screen session, run this (in another terminal):



            while sleep 10s ; do screen -X next ; done


            The -X option sends commands to an existing screen session, and next simply advances to the next window. So if your session only has the two windows, then this will switch from one to the other.






            share|improve this answer






























              0














              After starting your screen session, run this (in another terminal):



              while sleep 10s ; do screen -X next ; done


              The -X option sends commands to an existing screen session, and next simply advances to the next window. So if your session only has the two windows, then this will switch from one to the other.






              share|improve this answer




























                0












                0








                0







                After starting your screen session, run this (in another terminal):



                while sleep 10s ; do screen -X next ; done


                The -X option sends commands to an existing screen session, and next simply advances to the next window. So if your session only has the two windows, then this will switch from one to the other.






                share|improve this answer













                After starting your screen session, run this (in another terminal):



                while sleep 10s ; do screen -X next ; done


                The -X option sends commands to an existing screen session, and next simply advances to the next window. So if your session only has the two windows, then this will switch from one to the other.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered 12 hours ago









                JigglyNagaJigglyNaga

                4,33710 silver badges37 bronze badges




                4,33710 silver badges37 bronze badges

































                    draft saved

                    draft discarded




















































                    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%2f535206%2fcan-gnu-screen-periodically-toggle-between-two-virtual-terminals%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...