106

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.

top 50 comments
sorted by: hot top controversial new old
[-] GolfNovemberUniform@lemmy.ml 50 points 8 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

[-] Cyber@feddit.uk 7 points 8 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 has become a zombie, etc.

load more comments (1 replies)
[-] dessalines@lemmy.ml 32 points 8 months ago
[-] jlow@beehaw.org 7 points 8 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 ...

[-] Overspark@feddit.nl 4 points 7 months ago

btop has GPU stats in recent versions.

load more comments (1 replies)
[-] Rustmilian@lemmy.world 31 points 8 months ago
[-] realzombiegeek@infosec.pub 19 points 8 months ago
[-] GravitySpoiled@lemmy.ml 18 points 8 months ago* (last edited 8 months ago)

It's no burden. Don't overthink it. Use whatever you like.

[-] DrillingStricken@programming.dev 4 points 8 months ago

Totally, but I do want to know about other people experience tho. So if you don't mind, share with me my friend.

[-] GravitySpoiled@lemmy.ml 8 points 8 months ago

btop is not only beautiful but contains more info more dense more compact.

[-] drwho@beehaw.org 17 points 7 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.dev 4 points 7 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!

load more comments (1 replies)
[-] waigl@lemmy.world 16 points 8 months ago

btop for bling

htop for practical utility

top for minimalism, availability, reliability

[-] digdilem@lemmy.ml 14 points 8 months ago* (last edited 8 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.

[-] fuckwit_mcbumcrumble@lemmy.world 13 points 8 months ago* (last edited 8 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 10 points 8 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.

[-] Shareni@programming.dev 4 points 8 months ago* (last edited 8 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 4 points 8 months ago* (last edited 8 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

[-] agent_flounder@lemmy.world 4 points 8 months ago

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

[-] MangoPenguin@lemmy.blahaj.zone 13 points 7 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.

[-] halfway_neko@lemmy.dbzer0.com 12 points 8 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.

[-] DrillingStricken@programming.dev 3 points 7 months ago

Now that you mention it, I also have to check out ps just in case...

[-] agent_flounder@lemmy.world 11 points 8 months ago

htop because pretty colors and graphs.

Or top because it's like muscle memory now.

[-] zwerdlds@lemmy.ml 3 points 8 months ago

I like htop more, but btop has better colors and graphs (imo)

load more comments (1 replies)
[-] UmbraTemporis@lemmy.dbzer0.com 9 points 8 months ago

I tend to go with htop purely out of habit. btop is better but I simply don't think to use it.

[-] DrillingStricken@programming.dev 4 points 8 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.

[-] UmbraTemporis@lemmy.dbzer0.com 3 points 8 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.

load more comments (3 replies)
load more comments (2 replies)
[-] tuto193@lemmy.world 9 points 8 months ago

I'm more of a bottom, if you know what I mean.

load more comments (1 replies)
[-] wick3dr0se@lemmy.ml 8 points 7 months ago
load more comments (1 replies)
[-] jjlinux@lemmy.ml 8 points 7 months ago

Htop, but only because its what I've always used and have no need to change at the moment.

[-] rotopenguin@infosec.pub 7 points 8 months ago
load more comments (1 replies)
[-] BCsven@lemmy.ca 7 points 8 months ago

Htop is completly customizable for how the sections of data are displayed. it is a bit convoluted the first time you start, but then it makes

[-] SmokeInFog@midwest.social 7 points 8 months ago

btop for system resource monitoring, htop for actually finding and killing processes

[-] neurospice@lemmy.dbzer0.com 7 points 8 months ago

I love btop because of how fancy the graphs look and it also shows disk utilisation. I use it pretty much wherever I can. When I want something more simple I use bottom btm --basic and alias it to top

load more comments (1 replies)
[-] Bandicoot_Academic@lemmy.one 6 points 8 months ago

I like btop because of its ease of use and modern gui. When I open top or even htop it feels like I'm using something designed for a dumb terminal from the 70s. When opening btop it feels like something designed for how computers are used now and not 50 years ago.

Also to my knowledge It's the only full system monitor to include GPU monitoring (while other GPU monitors exist they usually only monitor the GPU and not the whole system)

[-] DrillingStricken@programming.dev 3 points 7 months ago

Agree with you on the beauty of btop, but sometimes less is more and that's why I think it's bloated. When working with the terminal, text-based programs work best on it so htop is much more to my liking due to its minimalist interface.

[-] JASN_DE@lemmy.world 6 points 8 months ago

Much better to quickly determine CPU and memory load.

load more comments (1 replies)
[-] azron@lemmy.ml 6 points 8 months ago

atop, especially because you can take snapshots over time of what the system was doing and use it to backtrack when bad things happen.

load more comments (1 replies)
[-] avidamoeba@lemmy.ca 5 points 8 months ago* (last edited 8 months ago)
top

Because it exists in nearly every environment I might need to check usage. From my desktop, through laptops, lab machines, routers, embedded systems, IoT to cloud, I don't have to keep the muscle memory of more than one app.

[-] DrillingStricken@programming.dev 3 points 7 months ago

Yeah, that is the reason I use top in the first place. No need for an extra package and I can use it on pretty much every system.

[-] Hominine@lemmy.world 5 points 8 months ago

bpytop, it's just too pretty to pass up.

[-] GravitySpoiled@lemmy.ml 6 points 8 months ago* (last edited 8 months ago)

I thought btop replaced it. Didn't know that was still around

Edit: looking at the github: it isn't around anymore 😅

[-] Hominine@lemmy.world 3 points 8 months ago

Oof, I'm a dumdum. Thanks for the correction.

[-] Lettuceeatlettuce@lemmy.ml 5 points 8 months ago

Btop, it's pretty. Htop when I'm lazy or working on a system that's bare bones.

[-] jlow@beehaw.org 3 points 8 months ago

I use btop all the time, used htop before I knew about btop, almost never use top.

load more comments (1 replies)
[-] bloodfart@lemmy.ml 3 points 7 months ago

They’re different tools with different purposes. What you’re asking is like “which do you prefer, hand driver, box/open end wrench, socket wrench or impact driver?”

Ps and top can be used to very easily figure out and address when processes are screwing up. Atop, htop and btop can be used to directly view stuff hardware reports in real-ish time so you can figure out if a process has stopped being “stepped” across cores, a disk has stopped responding in time or when there’s a lot of network traffic.

As utilities they operate within fundamentally different scopes, to the point with btop of being extremely zoomed out macro pictures that are helpful when taking in abstract information about a system.

load more comments
view more: next ›
this post was submitted on 06 Mar 2024
106 points (94.2% liked)

Linux

47954 readers
1374 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS