Why do you find yourself opting for btop or htop instead of top? What advantages do these tools offer that make them superior to top in your opinion?

top has served me well, so I’m unsure why I would want to burden my system with the addition of htop or btop. With top, if you wish to terminate a process, simply press ‘k’ and send the signal; it’s that simple. If you’d like to identify the origin of a process, just include the command column.

I often find myself intrigued when encountering comments on posts expressing love for htop/btop. To me, it appears unnecessary or BLOATED!! Please do share your perspectives and help broaden my Linux knowledgebase.

  • GolfNovemberUniform@lemmy.ml
    link
    fedilink
    arrow-up
    50
    ·
    9 months ago

    htop because it’s much more user-friendly than top, has the feature of sending all kinds of signals to processes, has mouse support and it generally looks good. Not a fan of btop at all. Idk how to use it and I don’t like the UI. I personally love the idea of no bloat. It’s just such a nice little philosophy. Sometimes I even want to use a CLI only computer tbh. Though htop weights only a few kilobytes and it has features top doesn’t have so I don’t consider it bloat. I had it on my server as well

    • SayCyberOnceMore@feddit.uk
      link
      fedilink
      English
      arrow-up
      7
      ·
      9 months ago

      Yeah, I can understand RAM use in htop, but not in top

      Also, the Tree View makes it easy to see which part of <insert name of application> has become a zombie, etc.

    • DrillingStricken@programming.devOP
      link
      fedilink
      arrow-up
      2
      ·
      9 months ago

      To be honest, I really prefer btop’s sleek UI. It looks so modern and advanced. But with all its beauty and abundance of information, it can be overwhelming at times or in another words, bloattt. That’s why I personally lean towards htop’s text-based interface, which I find highly customizable to my preferences. Plus, htop offers more features and conveniences than top, making it my go-to choice for now.

    • jlow (he/him)@beehaw.org
      link
      fedilink
      arrow-up
      7
      ·
      9 months ago

      Uh, temperatures, that’s nice.

      I’d really like one of these to include GPU stats (I know, there’s nvtop or whatever it’s called), GUI apps can do it (Mission Center and a KDE system monitor widget), but I’ve not seen a CLI program include that …

  • The Doctor@beehaw.org
    link
    fedilink
    English
    arrow-up
    17
    ·
    9 months ago

    htop is my go-to these days. It tells me what I need to know, and it’s just nice to look at.

    • DrillingStricken@programming.devOP
      link
      fedilink
      arrow-up
      4
      ·
      9 months ago

      I’ve given both htop and btop a spin, and I have to say that I really prefer htop. It offers a prettier interface and more features than top, while still feeling less bloated than btop to me. So yeah, it’s definitely my go-to choice!

  • waigl@lemmy.world
    link
    fedilink
    English
    arrow-up
    16
    ·
    9 months ago

    btop for bling

    htop for practical utility

    top for minimalism, availability, reliability

  • DigitalDilemma@lemmy.ml
    link
    fedilink
    arrow-up
    14
    ·
    edit-2
    9 months ago

    htop on our vms and clusters, because it’s in all the repos, it’s fast, it’s configurable by a deployable config file, it’s very clearly laid out and it does everything I need. I definitely would not call it bloated in any way.

    My config includes network and i/o traffic stats, and details cpu load type - this in particular makes iowait very easy to spot when finding out why something’s racking up big sysloads. Plus, it looks very impressive on a machine with 80 cores…

    My brain can’t parse top’s output very well for anything other than looking for the highest cpu process.

    But - ymmv. Everyone has a preference and we have lots of choice, it doesn’t make one thing better or worse than another.

  • MangoPenguin@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    13
    ·
    9 months ago

    htop gives me enough info without being too busy or slow, it’s also in basically every OS repo by default so no complicated install.

    The other ones can look awesome, but they’re often harder to get info from quickly due to being too cluttered.

  • fuckwit_mcbumcrumble@lemmy.world
    link
    fedilink
    arrow-up
    13
    ·
    edit-2
    9 months ago

    I like htop because it has nice CPU graphs and a good tui for navigating. Top is a bit too obtuse for a new user, especially since CPU time is measured per core and not per the entire CPU. Plus I never figured out how turbo boost plays a roll in those percents.

    I haven’t gotten around to messing with btop, but it seems like more of what I like.

    Also fuck the “muh bloat” people. I have an i9 and 32 gigs of ram. I don’t care that a monitor util takes 1/10th of a second longer to launch and uses 1MB more of ram.

    • taladar@sh.itjust.works
      link
      fedilink
      arrow-up
      12
      arrow-down
      2
      ·
      9 months ago

      Also fuck the “muh bloat” people. I have an i9 and 32 gigs of ram. I don’t care that a monitor util takes 1/10th of a second longer to launch and uses 1MB more of ram.

      Maybe you only use those tools on your desktop but on a cloud server with only 1-2GB of RAM you really don’t want your monitoring to take up some significant percentage of that. Especially when you are debugging things like OOM conditions already.

      • agent_flounder@lemmy.world
        link
        fedilink
        English
        arrow-up
        5
        arrow-down
        1
        ·
        9 months ago

        If I was that memory- and cpu-constrained I would be using other tools such as memstat, iostat, and cpustat.

      • Shareni@programming.dev
        link
        fedilink
        arrow-up
        5
        arrow-down
        1
        ·
        edit-2
        9 months ago
        1. Why are you using top instead of ps if you’re worried about memory?

        2. Containerise it, and you can debug locally

        3. It’s not what the person you’re replying to is talking about. You’re using a slightly better tool for a specific job, they’re talking about people who won’t use htop/btop on their own machine because BLOAT.

      • Eager Eagle@lemmy.world
        link
        fedilink
        English
        arrow-up
        5
        arrow-down
        1
        ·
        edit-2
        9 months ago

        you really don’t want your monitoring to take up some significant percentage of that

        except it doesn’t - both htop and btop use <30 MB

        and if 20MB makes a difference, you don’t need a different top, you need a different machine

        “bloat bad” people are just obnoxious

  • halfway_neko@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    12
    ·
    9 months ago

    btop because pretty colors :3

    i still need to learn how to use top well though, just in case that’s the only option some day. if all else fails i just resort back to ps and (p)kill.

      • agent_flounder@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        9 months ago

        Well, you’re not wrong. I was away from my desktop when I commented and forgot btop looked so fancy.

        For now I still prefer htop because I can see at a glance the stuff I’m most interested in (mem & cpu and process sort).

        I’ll have to play with some of the other suggestions in the post…

        I also am starting to play around with cockpit a little more for remote monitoring.

    • DrillingStricken@programming.devOP
      link
      fedilink
      arrow-up
      4
      ·
      9 months ago

      Why do you think that? After this post, I will try out both of them but maybe eventually I will still just use top out of, same as you bro, habit.

      • 🌘 Umbra Temporis 🌒@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        3
        ·
        9 months ago

        I find htop to be far more legible, the white blocks of top aren’t for me. btop just seems a bit too much for my use, so I never caught on to it. I do believe btop to be better however, since the point of these programs is to see detailed statistics about your system and running programs. btop shoves a lot more information into your face. I really only open htop to find the PID of an app or to find what I need to debloat when I’m in a 1337 h4ck3rm4n mood and trying to make the most minimal system possible.

    • Perhyte@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      9 months ago

      Have you considered putting alias htop=btop (or equivalent) in your shell profile?

      • 🌘 Umbra Temporis 🌒@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        9 months ago

        I could, but like I said in my other reply btop is just a bit overkill for my use-case. Also “fixes” like that just seem a bit hacky, and as if I’m trying too hard to use a program. I shouldn’t have to disguise one program as another to be able to use it. That just spells it out plain and clear to me, “I don’t need this program”.

    • Sickday@kbin.run
      link
      fedilink
      arrow-up
      2
      ·
      9 months ago

      Thanks for the share. Never heard of this until now and the Temperature Sensor and Disk Utilization widgets are awesome.