There's real reasons for Linux to replace ifconfig, netstat, et al


Recommended Posts

One of the ongoing system administration controversies in Linux is that there is an ongoing effort to obsolete the old, cross-Unix standard network administration and diagnosis commands of ifconfig, netstat and the like and replace them with fresh new Linux specific things like ss and the ip suite. Old sysadmins are generally grumpy about this; they consider it yet another sign of Linux's 'not invented here' attitude that sees Linux breaking from well-established Unix norms to go its own way. Although I'm an old sysadmin myself, I don't have this reaction. Instead, I think that it might be both sensible and honest for Linux to go off in this direction. There are two reasons for this, one ostensible and one subtle.

 

The ostensible surface issue is that the current code for netstat, ifconfig, and so on operates in an inefficient way. Per various people, netstat et al operate by reading various files in /proc, and doing this is not the most efficient thing in the world (either on the kernel side or on netstat's side). You won't notice this on a small system, but apparently there are real impacts on large ones. Modern commands like ss and ip use Linux's netlink sockets, which are much more efficient. In theory netstat, ifconfig, and company could be rewritten to use netlink too; in practice this doesn't seem to have happened and there may be political issues involving different groups of developers with different opinions on which way to go.

 

 

 

 

 

 

Full article @ Chris's Wiki

  • Like 2
  On 27/05/2018 at 17:14, Mindovermaster said:

Just ignore the other admins who know NOTHING about Linux and its inner workings.

Expand  

I’m having a hard time relating your reply to the content of this post. 

  On 27/05/2018 at 17:31, adrynalyne said:

I’m having a hard time relating your reply to the content of this post. 

Expand  

I am having a hard time realizing what your problem is with my complaint.

  On 27/05/2018 at 19:42, Mindovermaster said:

I am having a hard time realizing what your problem is with my complaint.

Expand  

Ok, let me spell it out for you then. This article is about people not wanting to change. It has f all to do with people knowing Linux or how it works. 

  • 2 weeks later...

Sometimes you have to distance yourself from "norms" and "conformity" in order to progress. If a tool is obsolete or simply does not make sense anymore, why keep using it?

I like the old UNIX simplicity, when hardware and networking were laconic, but in these modern times… some things are just too complex to get right by using old tools.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • It's not about the amount of work. How can you not know that? Game companies charge what the market will bear, not based on what it cost to make. The market will clearly bear any price for a Mario series game because of the huge number fans across many decades. I don't expect Outer Worlds 2 to support that price point with matching huge sales numbers. I guess we'll know soon enough at release.
    • Windows 10 KB5060534, KB5060532, KB5060530, KB5060529 recovery updates released by Sayan Sen Microsoft this week released Patch Tuesday updates for the month of June 2025 on Windows 10 (KB5060533 / KB5060531 / KB5061010 / KB5060998) and Windows 11 (KB5060842, KB5060999). Alongside that dynamic updates for Windows 10 were also published. This time there were no such updates for Windows 11 which is quite rare. Dynamic updates bring improvements to the Windows Recovery in the form of Windows Recovery Environment (WinRE) updates, also called Safe OS updates, as well as to the Setup binaries in the form of Setup updates. These Dynamic Update packages are meant to be applied to existing Windows images prior to their deployment. These packages include fixes to Setup.exe binaries, SafeOS updates for Windows Recovery Environment, and more. Dynamic Updates also help preserve Language Pack (LP) and Features on Demand (FODs) content during the upgrade process. VBScript, for example, is currently an FOD on Windows 11 24H2. Only recovery updates were released. The changelogs are given below: KB5060534: Safe OS Dynamic Update for Windows 10: June 10, 2025 KB5060532: Safe OS Dynamic Update for Windows 10, version 21H2 and 22H2: June 10, 2025 KB5060530: Safe OS Dynamic Update for Windows 10, version 1809 and Windows Server 2019: June 10, 2025 KB5060529: Safe OS Dynamic Update for Windows 10, version 1607 and Windows Server 2016: June 10, 2025 Microsoft notes that the updates will be downloaded and installed automatically via the Windows Update channel. You can also avail them manually on Microsoft's Update Catalog website: KB5060534, KB5060532, KB5060530, and KB5060534.
    • Hello, I didn't see any replacements listed at https://lian-li.com/product-category/accessories/, but they do have a contact page at https://lian-li.com/contact-us/.  I suspect reaching out to them would produce further information about the availability of a replacement.  Regards, Aryeh Goretsky  
    • I used to always use the WPD app, but I dont really trust it anymore since it hasnt had updates in a long time. Funny thing is, I recently came across a tool literally called 'Crapfixer' and it looks exactly like CrapCleaner 😅 You should check it out, its on GitHub  
  • Recent Achievements

    • Apprentice
      Wireless wookie went up a rank
      Apprentice
    • Week One Done
      bukro earned a badge
      Week One Done
    • One Year In
      Wulle earned a badge
      One Year In
    • One Month Later
      Wulle earned a badge
      One Month Later
    • One Month Later
      Simmo3D earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      555
    2. 2
      ATLien_0
      254
    3. 3
      +FloatingFatMan
      177
    4. 4
      Michael Scrip
      123
    5. 5
      Steven P.
      96
  • Tell a friend

    Love Neowin? Tell a friend!