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...

you are viewing a single comment's thread
view the rest of the comments
[–] 15 points 1 year ago (6 children)

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.

  • source
  • hideshow 6 child comments
  • [–] 11 points 1 year ago* (last edited 1 year ago) (5 children)

    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.

  • source
  • parent
  • hideshow 5 child comments
  • [–] 7 points 1 year ago (3 children)

    Eh, system will take care of the orphans

  • source
  • parent
  • hideshow 3 child comments
  • [–] 6 points 1 year ago (2 children)

    Turning them into Zombies is certainly a way of dealing with orphans, sure...

  • source
  • parent
  • hideshow 2 child comments