Is there a way to have a dynamic system status area in the Linux terminal that updates while one does...












1















I'm thinking for some servers I look after, that after I SSH in to the box it would be very helpful to see things like disk usage, CPU usage and the such in the actual terminal I'm in as I’m working. Not just a static bit of data displayed once MOTD.



Yes, I understand that I can just issue a command like top but i'd like a header or footer area with just a couple lines that show some info to me and be shown the entire time I'm working. A dynamic area that continues to do it's job as I work.



Anyone heard of such a thing?










share|improve this question




















  • 1





    What OS are you in when you connect? You can split windows and even set tabs in macOS.

    – JakeGould
    Jan 24 at 23:41






  • 1





    Update: misread the question. I'm usually in a cygwin session on a Windows box

    – idic
    Jan 26 at 0:40













  • Fair enough. Kamil’s answer seems to be the best solution then.

    – JakeGould
    Jan 26 at 0:43
















1















I'm thinking for some servers I look after, that after I SSH in to the box it would be very helpful to see things like disk usage, CPU usage and the such in the actual terminal I'm in as I’m working. Not just a static bit of data displayed once MOTD.



Yes, I understand that I can just issue a command like top but i'd like a header or footer area with just a couple lines that show some info to me and be shown the entire time I'm working. A dynamic area that continues to do it's job as I work.



Anyone heard of such a thing?










share|improve this question




















  • 1





    What OS are you in when you connect? You can split windows and even set tabs in macOS.

    – JakeGould
    Jan 24 at 23:41






  • 1





    Update: misread the question. I'm usually in a cygwin session on a Windows box

    – idic
    Jan 26 at 0:40













  • Fair enough. Kamil’s answer seems to be the best solution then.

    – JakeGould
    Jan 26 at 0:43














1












1








1








I'm thinking for some servers I look after, that after I SSH in to the box it would be very helpful to see things like disk usage, CPU usage and the such in the actual terminal I'm in as I’m working. Not just a static bit of data displayed once MOTD.



Yes, I understand that I can just issue a command like top but i'd like a header or footer area with just a couple lines that show some info to me and be shown the entire time I'm working. A dynamic area that continues to do it's job as I work.



Anyone heard of such a thing?










share|improve this question
















I'm thinking for some servers I look after, that after I SSH in to the box it would be very helpful to see things like disk usage, CPU usage and the such in the actual terminal I'm in as I’m working. Not just a static bit of data displayed once MOTD.



Yes, I understand that I can just issue a command like top but i'd like a header or footer area with just a couple lines that show some info to me and be shown the entire time I'm working. A dynamic area that continues to do it's job as I work.



Anyone heard of such a thing?







linux terminal unix






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 24 at 23:40









JakeGould

32k1098140




32k1098140










asked Jan 24 at 22:52









idicidic

62




62








  • 1





    What OS are you in when you connect? You can split windows and even set tabs in macOS.

    – JakeGould
    Jan 24 at 23:41






  • 1





    Update: misread the question. I'm usually in a cygwin session on a Windows box

    – idic
    Jan 26 at 0:40













  • Fair enough. Kamil’s answer seems to be the best solution then.

    – JakeGould
    Jan 26 at 0:43














  • 1





    What OS are you in when you connect? You can split windows and even set tabs in macOS.

    – JakeGould
    Jan 24 at 23:41






  • 1





    Update: misread the question. I'm usually in a cygwin session on a Windows box

    – idic
    Jan 26 at 0:40













  • Fair enough. Kamil’s answer seems to be the best solution then.

    – JakeGould
    Jan 26 at 0:43








1




1





What OS are you in when you connect? You can split windows and even set tabs in macOS.

– JakeGould
Jan 24 at 23:41





What OS are you in when you connect? You can split windows and even set tabs in macOS.

– JakeGould
Jan 24 at 23:41




1




1





Update: misread the question. I'm usually in a cygwin session on a Windows box

– idic
Jan 26 at 0:40







Update: misread the question. I'm usually in a cygwin session on a Windows box

– idic
Jan 26 at 0:40















Fair enough. Kamil’s answer seems to be the best solution then.

– JakeGould
Jan 26 at 0:43





Fair enough. Kamil’s answer seems to be the best solution then.

– JakeGould
Jan 26 at 0:43










1 Answer
1






active

oldest

votes


















2














Use tmux to split your terminal into panes (alternative: GNU screen). Then run whatever you want wherever you want.



The below screenshot was taken, while iotop, htop, watch df -h and watch sensors were constantly running. There is also one shell (could be more if I wanted) waiting for commands.



tmux



Working with tmux is my daily routine; no matter if in tty, terminal emulator under X11, connecting with ssh from another Linux or with PuTTY from Windows.



When connecting via SSH, I prefer running tmux on a server, so I can detach (disconnect) at any time and attach later to my tasks still running (compare this question and my answer there).



If you cannot install tmux on your server(s), run it locally and connect to the server (or different servers) from each pane separately. In this case some of your remote tasks will die if you disconnect, as if you didn't use tmux (no wonder, from the server's point of view you don't use tmux), still your local console will be able to show separate panes with local or remote programs running.






share|improve this answer

























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "3"
    };
    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: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    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%2fsuperuser.com%2fquestions%2f1398118%2fis-there-a-way-to-have-a-dynamic-system-status-area-in-the-linux-terminal-that-u%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









    2














    Use tmux to split your terminal into panes (alternative: GNU screen). Then run whatever you want wherever you want.



    The below screenshot was taken, while iotop, htop, watch df -h and watch sensors were constantly running. There is also one shell (could be more if I wanted) waiting for commands.



    tmux



    Working with tmux is my daily routine; no matter if in tty, terminal emulator under X11, connecting with ssh from another Linux or with PuTTY from Windows.



    When connecting via SSH, I prefer running tmux on a server, so I can detach (disconnect) at any time and attach later to my tasks still running (compare this question and my answer there).



    If you cannot install tmux on your server(s), run it locally and connect to the server (or different servers) from each pane separately. In this case some of your remote tasks will die if you disconnect, as if you didn't use tmux (no wonder, from the server's point of view you don't use tmux), still your local console will be able to show separate panes with local or remote programs running.






    share|improve this answer






























      2














      Use tmux to split your terminal into panes (alternative: GNU screen). Then run whatever you want wherever you want.



      The below screenshot was taken, while iotop, htop, watch df -h and watch sensors were constantly running. There is also one shell (could be more if I wanted) waiting for commands.



      tmux



      Working with tmux is my daily routine; no matter if in tty, terminal emulator under X11, connecting with ssh from another Linux or with PuTTY from Windows.



      When connecting via SSH, I prefer running tmux on a server, so I can detach (disconnect) at any time and attach later to my tasks still running (compare this question and my answer there).



      If you cannot install tmux on your server(s), run it locally and connect to the server (or different servers) from each pane separately. In this case some of your remote tasks will die if you disconnect, as if you didn't use tmux (no wonder, from the server's point of view you don't use tmux), still your local console will be able to show separate panes with local or remote programs running.






      share|improve this answer




























        2












        2








        2







        Use tmux to split your terminal into panes (alternative: GNU screen). Then run whatever you want wherever you want.



        The below screenshot was taken, while iotop, htop, watch df -h and watch sensors were constantly running. There is also one shell (could be more if I wanted) waiting for commands.



        tmux



        Working with tmux is my daily routine; no matter if in tty, terminal emulator under X11, connecting with ssh from another Linux or with PuTTY from Windows.



        When connecting via SSH, I prefer running tmux on a server, so I can detach (disconnect) at any time and attach later to my tasks still running (compare this question and my answer there).



        If you cannot install tmux on your server(s), run it locally and connect to the server (or different servers) from each pane separately. In this case some of your remote tasks will die if you disconnect, as if you didn't use tmux (no wonder, from the server's point of view you don't use tmux), still your local console will be able to show separate panes with local or remote programs running.






        share|improve this answer















        Use tmux to split your terminal into panes (alternative: GNU screen). Then run whatever you want wherever you want.



        The below screenshot was taken, while iotop, htop, watch df -h and watch sensors were constantly running. There is also one shell (could be more if I wanted) waiting for commands.



        tmux



        Working with tmux is my daily routine; no matter if in tty, terminal emulator under X11, connecting with ssh from another Linux or with PuTTY from Windows.



        When connecting via SSH, I prefer running tmux on a server, so I can detach (disconnect) at any time and attach later to my tasks still running (compare this question and my answer there).



        If you cannot install tmux on your server(s), run it locally and connect to the server (or different servers) from each pane separately. In this case some of your remote tasks will die if you disconnect, as if you didn't use tmux (no wonder, from the server's point of view you don't use tmux), still your local console will be able to show separate panes with local or remote programs running.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Jan 26 at 8:04

























        answered Jan 24 at 23:37









        Kamil MaciorowskiKamil Maciorowski

        28k156185




        28k156185






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Super User!


            • 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%2fsuperuser.com%2fquestions%2f1398118%2fis-there-a-way-to-have-a-dynamic-system-status-area-in-the-linux-terminal-that-u%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

            Plaza Victoria

            Puebla de Zaragoza

            Musa