ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    What Are You Doing Right Now

    Water Closet
    time waster
    285
    88.9k
    41.8m
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • scottalanmillerS
      scottalanmiller
      last edited by

      Speed of uptime on Linux. This is bash calling SSH calling bash...

      ssh2bash_uptime.gif

      One second. Most of that time is used to set up SSH, nothing to do with Bash.

      ObsolesceO 1 Reply Last reply Reply Quote 0
      • dbeatoD
        dbeato @scottalanmiller
        last edited by

        @scottalanmiller said in What Are You Doing Right Now:

        BTW... "Get-Uptime" isn't found on Windows 10 1809 fresh install.

        IT is a script that needs to be downloaded 😞
        https://gist.githubusercontent.com/morisy/8aa34f4ba0beaf8eef1b9224c616e041/raw/4644b875e9e5393f25b0fe79e24129eec5654f7e/Get-Uptime.ps1

        1 Reply Last reply Reply Quote 0
        • ObsolesceO
          Obsolesce @scottalanmiller
          last edited by

          @scottalanmiller said in What Are You Doing Right Now:

          @Obsolesce said in What Are You Doing Right Now:

          Like what? I did a Get-Uptime cmd and it was instant. If it was any faster, I wouldn't notice.

          It's not instant. Are you sure you didn't spend time getting PS up and running first, THEN time only the command after all the time was already spent?

          No, I did the exact same thing I'd have done on a Linux GUI....

          1. Click on PowerShell on the task bar to open it up. (keybind would work too)
          2. Typed in Get-Uptime -Since, hit enter.
          3. Maybe I saved a little time typing with PowerShell because of tab-completion. I only typed get-up <tab> -<tab> then enter.
          dbeatoD 1 Reply Last reply Reply Quote 0
          • dbeatoD
            dbeato @Obsolesce
            last edited by

            @Obsolesce said in What Are You Doing Right Now:

            @scottalanmiller said in What Are You Doing Right Now:

            @Obsolesce said in What Are You Doing Right Now:

            Like what? I did a Get-Uptime cmd and it was instant. If it was any faster, I wouldn't notice.

            It's not instant. Are you sure you didn't spend time getting PS up and running first, THEN time only the command after all the time was already spent?

            No, I did the exact same thing I'd have done on a Linux GUI....

            1. Click on PowerShell on the task bar to open it up. (keybind would work too)
            2. Typed in Get-Uptime -Since, hit enter.
            3. Maybe I saved a little time typing with PowerShell because of tab-completion. I only typed get-up <tab> -<tab> then enter.

            Weird,
            a1edcda7-259d-41f9-8ce3-53a38c01d75a-image.png

            ObsolesceO 1 Reply Last reply Reply Quote 0
            • ObsolesceO
              Obsolesce @dbeato
              last edited by

              @dbeato said in What Are You Doing Right Now:

              @Obsolesce said in What Are You Doing Right Now:

              @scottalanmiller said in What Are You Doing Right Now:

              @Obsolesce said in What Are You Doing Right Now:

              Like what? I did a Get-Uptime cmd and it was instant. If it was any faster, I wouldn't notice.

              It's not instant. Are you sure you didn't spend time getting PS up and running first, THEN time only the command after all the time was already spent?

              No, I did the exact same thing I'd have done on a Linux GUI....

              1. Click on PowerShell on the task bar to open it up. (keybind would work too)
              2. Typed in Get-Uptime -Since, hit enter.
              3. Maybe I saved a little time typing with PowerShell because of tab-completion. I only typed get-up <tab> -<tab> then enter.

              Weird,
              a1edcda7-259d-41f9-8ce3-53a38c01d75a-image.png

              @Obsolesce said in What Are You Doing Right Now:

              @EddieJennings said in What Are You Doing Right Now:

              @Obsolesce said in What Are You Doing Right Now:

              @scottalanmiller said in What Are You Doing Right Now:

              @black3dynamite yeah, PowerShell is still stuck in like 1982 here.

              No, I think all of you are stuck in 1982 while PowerShell has moved on...

              a21658d1-25a9-4708-9463-bb57020fc88c-image.png

              Unless there's a bleeding-edge version of Powershell out now that has that cmdlet, it doesn't seem to be native for 5.1.

              I know there's a module out there that does what your picture shows, but it would be nice if that was just baked-in.

              No, nothing new or fancy... just plain old PS6:

              c96854f2-bfba-41d6-8c9d-8d0d5c4adb64-image.png

              dbeatoD 1 Reply Last reply Reply Quote 0
              • ObsolesceO
                Obsolesce @scottalanmiller
                last edited by Obsolesce

                @scottalanmiller said in What Are You Doing Right Now:

                Speed of uptime on Linux. This is bash calling SSH calling bash...

                ssh2bash_uptime.gif

                One second. Most of that time is used to set up SSH, nothing to do with Bash.

                I can do that exact same thing in PowerShell on Win10 now that SSH works by default 🙂

                word for word... letter for letter.... in PowerShell.

                scottalanmillerS 1 Reply Last reply Reply Quote 0
                • scottalanmillerS
                  scottalanmiller @Obsolesce
                  last edited by

                  @Obsolesce said in What Are You Doing Right Now:

                  I can do that exact same thing in PowerShell on Win10 now that SSH works by default
                  word for word... letter for letter.... in PowerShell.

                  I've been ABLE to do it for a while. It's the speed that isn't there. We use PowerShell over SSH every day (until a few weeks ago when PS totally broke and our long standing processes all failed because Windows didn't keep PS consistent.) But it is still crazy slow compared to any other platform. Certainly an improvement, joining us with late 1990s technology. But it doesn't address the speed issue.

                  ObsolesceO 1 Reply Last reply Reply Quote 0
                  • ObsolesceO
                    Obsolesce @scottalanmiller
                    last edited by

                    @scottalanmiller said in What Are You Doing Right Now:

                    @Obsolesce said in What Are You Doing Right Now:

                    I can do that exact same thing in PowerShell on Win10 now that SSH works by default
                    word for word... letter for letter.... in PowerShell.

                    I've been ABLE to do it for a while. It's the speed that isn't there. We use PowerShell over SSH every day (until a few weeks ago when PS totally broke and our long standing processes all failed because Windows didn't keep PS consistent.) But it is still crazy slow compared to any other platform. Certainly an improvement, joining us with late 1990s technology. But it doesn't address the speed issue.

                    0959ffb8-6cbc-49a3-9e91-6e05668eeb60-image.png

                    1 Reply Last reply Reply Quote 0
                    • ObsolesceO
                      Obsolesce
                      last edited by

                      It did it above instantly (minus asking for password, just a test machine don't have that set up)

                      I noticed zero speed difference than when I do it on Linux with BASH.

                      scottalanmillerS 1 Reply Last reply Reply Quote 0
                      • dbeatoD
                        dbeato @Obsolesce
                        last edited by

                        @Obsolesce said in What Are You Doing Right Now:

                        @dbeato said in What Are You Doing Right Now:

                        @Obsolesce said in What Are You Doing Right Now:

                        @scottalanmiller said in What Are You Doing Right Now:

                        @Obsolesce said in What Are You Doing Right Now:

                        Like what? I did a Get-Uptime cmd and it was instant. If it was any faster, I wouldn't notice.

                        It's not instant. Are you sure you didn't spend time getting PS up and running first, THEN time only the command after all the time was already spent?

                        No, I did the exact same thing I'd have done on a Linux GUI....

                        1. Click on PowerShell on the task bar to open it up. (keybind would work too)
                        2. Typed in Get-Uptime -Since, hit enter.
                        3. Maybe I saved a little time typing with PowerShell because of tab-completion. I only typed get-up <tab> -<tab> then enter.

                        Weird,
                        a1edcda7-259d-41f9-8ce3-53a38c01d75a-image.png

                        @Obsolesce said in What Are You Doing Right Now:

                        @EddieJennings said in What Are You Doing Right Now:

                        @Obsolesce said in What Are You Doing Right Now:

                        @scottalanmiller said in What Are You Doing Right Now:

                        @black3dynamite yeah, PowerShell is still stuck in like 1982 here.

                        No, I think all of you are stuck in 1982 while PowerShell has moved on...

                        a21658d1-25a9-4708-9463-bb57020fc88c-image.png

                        Unless there's a bleeding-edge version of Powershell out now that has that cmdlet, it doesn't seem to be native for 5.1.

                        I know there's a module out there that does what your picture shows, but it would be nice if that was just baked-in.

                        No, nothing new or fancy... just plain old PS6:

                        c96854f2-bfba-41d6-8c9d-8d0d5c4adb64-image.png

                        Yeah, I have only 5.1
                        b66a2247-b548-456d-b48a-9aaf461e102a-image.png

                        scottalanmillerS 1 Reply Last reply Reply Quote 0
                        • scottalanmillerS
                          scottalanmiller @dbeato
                          last edited by

                          @dbeato said in What Are You Doing Right Now:

                          @Obsolesce said in What Are You Doing Right Now:

                          @dbeato said in What Are You Doing Right Now:

                          @Obsolesce said in What Are You Doing Right Now:

                          @scottalanmiller said in What Are You Doing Right Now:

                          @Obsolesce said in What Are You Doing Right Now:

                          Like what? I did a Get-Uptime cmd and it was instant. If it was any faster, I wouldn't notice.

                          It's not instant. Are you sure you didn't spend time getting PS up and running first, THEN time only the command after all the time was already spent?

                          No, I did the exact same thing I'd have done on a Linux GUI....

                          1. Click on PowerShell on the task bar to open it up. (keybind would work too)
                          2. Typed in Get-Uptime -Since, hit enter.
                          3. Maybe I saved a little time typing with PowerShell because of tab-completion. I only typed get-up <tab> -<tab> then enter.

                          Weird,
                          a1edcda7-259d-41f9-8ce3-53a38c01d75a-image.png

                          @Obsolesce said in What Are You Doing Right Now:

                          @EddieJennings said in What Are You Doing Right Now:

                          @Obsolesce said in What Are You Doing Right Now:

                          @scottalanmiller said in What Are You Doing Right Now:

                          @black3dynamite yeah, PowerShell is still stuck in like 1982 here.

                          No, I think all of you are stuck in 1982 while PowerShell has moved on...

                          a21658d1-25a9-4708-9463-bb57020fc88c-image.png

                          Unless there's a bleeding-edge version of Powershell out now that has that cmdlet, it doesn't seem to be native for 5.1.

                          I know there's a module out there that does what your picture shows, but it would be nice if that was just baked-in.

                          No, nothing new or fancy... just plain old PS6:

                          c96854f2-bfba-41d6-8c9d-8d0d5c4adb64-image.png

                          Yeah, I have only 5.1
                          b66a2247-b548-456d-b48a-9aaf461e102a-image.png

                          that's because PSC6 is not a part of any OS natively. It is a new "add on", optional side by side installation that you can add to Windows or Linux.

                          So yes, it is available. but it is not standard or built in, so things like Get-Uptime are not yet part of Windows.

                          ObsolesceO 1 Reply Last reply Reply Quote 0
                          • scottalanmillerS
                            scottalanmiller @Obsolesce
                            last edited by

                            @Obsolesce said in What Are You Doing Right Now:

                            It did it above instantly (minus asking for password, just a test machine don't have that set up)

                            I noticed zero speed difference than when I do it on Linux with BASH.

                            That's because you specifically skipped the whole problem. You didn't time PS setting up, you set it up, then timed bash. Of course it came back fast, it was bash not PS that you timed!

                            ObsolesceO 1 Reply Last reply Reply Quote 0
                            • ObsolesceO
                              Obsolesce @scottalanmiller
                              last edited by

                              @scottalanmiller said in What Are You Doing Right Now:

                              @dbeato said in What Are You Doing Right Now:

                              @Obsolesce said in What Are You Doing Right Now:

                              @dbeato said in What Are You Doing Right Now:

                              @Obsolesce said in What Are You Doing Right Now:

                              @scottalanmiller said in What Are You Doing Right Now:

                              @Obsolesce said in What Are You Doing Right Now:

                              Like what? I did a Get-Uptime cmd and it was instant. If it was any faster, I wouldn't notice.

                              It's not instant. Are you sure you didn't spend time getting PS up and running first, THEN time only the command after all the time was already spent?

                              No, I did the exact same thing I'd have done on a Linux GUI....

                              1. Click on PowerShell on the task bar to open it up. (keybind would work too)
                              2. Typed in Get-Uptime -Since, hit enter.
                              3. Maybe I saved a little time typing with PowerShell because of tab-completion. I only typed get-up <tab> -<tab> then enter.

                              Weird,
                              a1edcda7-259d-41f9-8ce3-53a38c01d75a-image.png

                              @Obsolesce said in What Are You Doing Right Now:

                              @EddieJennings said in What Are You Doing Right Now:

                              @Obsolesce said in What Are You Doing Right Now:

                              @scottalanmiller said in What Are You Doing Right Now:

                              @black3dynamite yeah, PowerShell is still stuck in like 1982 here.

                              No, I think all of you are stuck in 1982 while PowerShell has moved on...

                              a21658d1-25a9-4708-9463-bb57020fc88c-image.png

                              Unless there's a bleeding-edge version of Powershell out now that has that cmdlet, it doesn't seem to be native for 5.1.

                              I know there's a module out there that does what your picture shows, but it would be nice if that was just baked-in.

                              No, nothing new or fancy... just plain old PS6:

                              c96854f2-bfba-41d6-8c9d-8d0d5c4adb64-image.png

                              Yeah, I have only 5.1
                              b66a2247-b548-456d-b48a-9aaf461e102a-image.png

                              that's because PSC6 is not a part of any OS natively. It is a new "add on", optional side by side installation that you can add to Windows or Linux.

                              So yes, it is available. but it is not standard or built in, so things like Get-Uptime are not yet part of Windows.

                              But what we are currently talking about, SSH, works on 5.1 anyways.

                              Earlier was one specific well-known case.

                              scottalanmillerS 1 Reply Last reply Reply Quote 0
                              • scottalanmillerS
                                scottalanmiller @Obsolesce
                                last edited by

                                @Obsolesce said in What Are You Doing Right Now:

                                But what we are currently talking about, SSH, works on 5.1 anyways.

                                The discussion is about how slow PS is. All mentioning of SSH was that Bash was SO much faster than PS, that I'm able to SSH to remote boxes and run a bash command and tear down the SSH tunnel all faster than PS can launch.

                                ObsolesceO 1 Reply Last reply Reply Quote 0
                                • ObsolesceO
                                  Obsolesce @scottalanmiller
                                  last edited by

                                  @scottalanmiller said in What Are You Doing Right Now:

                                  @Obsolesce said in What Are You Doing Right Now:

                                  It did it above instantly (minus asking for password, just a test machine don't have that set up)

                                  I noticed zero speed difference than when I do it on Linux with BASH.

                                  That's because you specifically skipped the whole problem. You didn't time PS setting up, you set it up, then timed bash. Of course it came back fast, it was bash not PS that you timed!

                                  I didn't set up PowerShell... what do you mean by set it up?

                                  PowerShell opens the same speed as terminal opens before I start typing. Am I missing something or some context from somewhere?

                                  scottalanmillerS 1 Reply Last reply Reply Quote 0
                                  • scottalanmillerS
                                    scottalanmiller @Obsolesce
                                    last edited by

                                    @Obsolesce said in What Are You Doing Right Now:

                                    I didn't set up PowerShell... what do you mean by set it up?

                                    You sure did, it's there on the screen. Can't be if you didn't set it up. PowerShell's slowness almost entirely comes from its load time.

                                    1 Reply Last reply Reply Quote 0
                                    • ObsolesceO
                                      Obsolesce @scottalanmiller
                                      last edited by

                                      @scottalanmiller said in What Are You Doing Right Now:

                                      @Obsolesce said in What Are You Doing Right Now:

                                      But what we are currently talking about, SSH, works on 5.1 anyways.

                                      The discussion is about how slow PS is. All mentioning of SSH was that Bash was SO much faster than PS, that I'm able to SSH to remote boxes and run a bash command and tear down the SSH tunnel all faster than PS can launch.

                                      I asked for a real example, you gave SSH.

                                      scottalanmillerS 1 Reply Last reply Reply Quote 0
                                      • scottalanmillerS
                                        scottalanmiller @Obsolesce
                                        last edited by

                                        @Obsolesce said in What Are You Doing Right Now:

                                        I asked for a real example, you gave SSH

                                        No, I gave Uptime

                                        ObsolesceO 1 Reply Last reply Reply Quote 0
                                        • ObsolesceO
                                          Obsolesce @scottalanmiller
                                          last edited by

                                          @scottalanmiller said in What Are You Doing Right Now:

                                          @Obsolesce said in What Are You Doing Right Now:

                                          I asked for a real example, you gave SSH

                                          No, I gave Uptime

                                          Via SSH. Which is the same when done through PowerShell.

                                          scottalanmillerS 1 Reply Last reply Reply Quote 0
                                          • scottalanmillerS
                                            scottalanmiller @Obsolesce
                                            last edited by

                                            @Obsolesce said in What Are You Doing Right Now:

                                            @scottalanmiller said in What Are You Doing Right Now:

                                            @Obsolesce said in What Are You Doing Right Now:

                                            I asked for a real example, you gave SSH

                                            No, I gave Uptime

                                            Via SSH. Which is the same when done through PowerShell.

                                            No, not through SSH. You missed the entire point to the point that you tested bash twice and never PowerShell. You've missed all of it. We aren't on the same subject. I'm discussing absolutely nothing but how slow PS is, nothing else. Not SSH speed, not at all.

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3543
                                            • 3544
                                            • 3545
                                            • 3546
                                            • 3547
                                            • 4443
                                            • 4444
                                            • 3545 / 4444
                                            • First post
                                              Last post