Why is 'ss -tnlp' command so slow unlike 'netstat -tnlp'? The 2019 Stack Overflow Developer...

Pokemon Turn Based battle (Python)

The phrase "to the numbers born"?

Why isn't the circumferential light around the M87 black hole's event horizon symmetric?

Keeping a retro style to sci-fi spaceships?

Match Roman Numerals

What is this business jet?

Can an undergraduate be advised by a professor who is very far away?

Can you cast a spell on someone in the Ethereal Plane, if you are on the Material Plane and have the True Seeing spell active?

What is the motivation for a law requiring 2 parties to consent for recording a conversation

Falsification in Math vs Science

A word that means fill it to the required quantity

Why couldn't they take pictures of a closer black hole?

What is this sharp, curved notch on my knife for?

What do these terms in Caesar's Gallic Wars mean?

Why doesn't shell automatically fix "useless use of cat"?

What does Linus Torvalds mean when he says that Git "never ever" tracks a file?

Is there a way to generate a uniformly distributed point on a sphere from a fixed amount of random real numbers?

Loose spokes after only a few rides

Ubuntu Server install with full GUI

How to charge AirPods to keep battery healthy?

Cooking pasta in a water boiler

Is Cinnamon a desktop environment or a window manager? (Or both?)

Is bread bad for ducks?

Is it ethical to upload a automatically generated paper to a non peer-reviewed site as part of a larger research?



Why is 'ss -tnlp' command so slow unlike 'netstat -tnlp'?



The 2019 Stack Overflow Developer Survey Results Are InNetstat -i redirection problemHow to interpret the output of netstat -o / netstat --timersNetstat Real-time TCP/IP Monitoringlots of netstat entriesHow do I clear command prompt before each netstat refresh?Netstat -an in Command Linenetstat with full command name (like in htop)`netstat` command in WSL return empty listUnderstanding netstat outputKali-Linux Netstat command not showing ports





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







0















I noticed a big performance difference between these two equivalent commands:



ss -tnlp
netstat -tnlp


Pay attention in the times shown:



# time ss -tnlp >/dev/null

real 0m24.204s
user 0m2.068s
sys 0m22.067s

# time netstat -tnlp >/dev/null

real 0m0.698s
user 0m0.026s
sys 0m0.671s


I checked this issue in RHEL 6.9 x64.










share|improve this question





























    0















    I noticed a big performance difference between these two equivalent commands:



    ss -tnlp
    netstat -tnlp


    Pay attention in the times shown:



    # time ss -tnlp >/dev/null

    real 0m24.204s
    user 0m2.068s
    sys 0m22.067s

    # time netstat -tnlp >/dev/null

    real 0m0.698s
    user 0m0.026s
    sys 0m0.671s


    I checked this issue in RHEL 6.9 x64.










    share|improve this question

























      0












      0








      0








      I noticed a big performance difference between these two equivalent commands:



      ss -tnlp
      netstat -tnlp


      Pay attention in the times shown:



      # time ss -tnlp >/dev/null

      real 0m24.204s
      user 0m2.068s
      sys 0m22.067s

      # time netstat -tnlp >/dev/null

      real 0m0.698s
      user 0m0.026s
      sys 0m0.671s


      I checked this issue in RHEL 6.9 x64.










      share|improve this question














      I noticed a big performance difference between these two equivalent commands:



      ss -tnlp
      netstat -tnlp


      Pay attention in the times shown:



      # time ss -tnlp >/dev/null

      real 0m24.204s
      user 0m2.068s
      sys 0m22.067s

      # time netstat -tnlp >/dev/null

      real 0m0.698s
      user 0m0.026s
      sys 0m0.671s


      I checked this issue in RHEL 6.9 x64.







      netstat rhel-6






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked yesterday









      JdamianJdamian

      13317




      13317






















          0






          active

          oldest

          votes












          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%2f1423803%2fwhy-is-ss-tnlp-command-so-slow-unlike-netstat-tnlp%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
















          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%2f1423803%2fwhy-is-ss-tnlp-command-so-slow-unlike-netstat-tnlp%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

          Why not use the yoke to control yaw, as well as pitch and roll? Announcing the arrival of...

          Couldn't open a raw socket. Error: Permission denied (13) (nmap)Is it possible to run networking commands...

          VNC viewer RFB protocol error: bad desktop size 0x0I Cannot Type the Key 'd' (lowercase) in VNC Viewer...