Always thought top was one of those programs frozen in time since the 70s, but apparently, it has a feature set comparable to htop and the like. The default configuration just doesn’t show much of it…

  • thinkercharmercoderfarmer@slrpnk.net
    link
    fedilink
    arrow-up
    15
    ·
    2 months ago

    Very cool, thanks. I migrated from top to htop a while ago and never looked back, but I occasionally have to use machines that don’t have htop so it might be time to get familiar with the default tooling.

    Why do they say that SIGKILL bad practice? I use it as the second tap if a SIGTERM doesn’t knock something out. The link in the article is 404ing.

    • loweffortname
      link
      fedilink
      English
      arrow-up
      11
      ·
      edit-2
      2 months ago

      SIGKILL is a good way to orphan children. Or end a DB transaction without properly closing it (so the server socket stays open, or the transaction lock isn’t released…) It exists for a reason, but docs usually caution against it because it can cause unexpected behaviors.