this post was submitted on 06 Mar 2024
106 points (94.2% liked)

Linux

47361 readers
903 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
 

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
[–] [email protected] 2 points 6 months ago

I am a chad htop enjoyer, I find btop and other alternatives too much on the eyes for me personally and HTOP has enough info for me to take a look at in terms of system resources.

Either that or I just use the regular gnome GUI system monitor lol

[–] [email protected] 8 points 6 months ago (1 children)
[–] [email protected] 2 points 6 months ago

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

[–] [email protected] 2 points 6 months ago

top is the standard.

[–] [email protected] 2 points 6 months ago

I run Tilix with split terminals and always have one with htop running. It is so satisfying finding a troublesome process and killing it in htop.

Looking at you hanged ssh sessions...

[–] [email protected] 3 points 6 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.

[–] [email protected] 2 points 6 months ago
[–] [email protected] 2 points 6 months ago* (last edited 6 months ago)

I use btop in tmux on my server but on the desktop I run htop in a dropdown terminal when I need to keep am eye on things

As to the why it depends on the use case but on my server I can monitor all disks and networks utilization by interface in addition to processor and memory usage with btop.

Htop is easier to parse due to the colors but I'll still use top if on a remove server to check something in work.

[–] [email protected] 3 points 6 months ago

btop, since I can use vi bindings to move around in it.

[–] [email protected] 3 points 6 months ago
[–] [email protected] 8 points 6 months ago

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

[–] [email protected] 13 points 6 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.

[–] [email protected] 3 points 6 months ago

atop and htop and glances and several others 8)

[–] [email protected] 17 points 6 months ago (1 children)

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

[–] [email protected] 4 points 6 months ago (1 children)

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!

[–] [email protected] 3 points 6 months ago

Btop is pretty. Htop tells me what I want to know. I prefer htop and it's my goto.

[–] [email protected] 12 points 6 months ago (1 children)

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.

[–] [email protected] 3 points 6 months ago

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

[–] [email protected] 14 points 6 months ago* (last edited 6 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.

[–] [email protected] 6 points 6 months ago (1 children)

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)

[–] [email protected] 3 points 6 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.

[–] [email protected] 2 points 6 months ago

I use both htop and btop—depending on the mood. htop is less prettier, but more reliable. But sometimes I want pretty and I go with btop. top is where I draw the line. It's too nerdy for me.

[–] [email protected] 6 points 6 months ago (1 children)

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

[–] [email protected] 1 points 6 months ago

Thanks for the suggestion! I will try it out.

[–] [email protected] 5 points 6 months ago* (last edited 6 months ago) (1 children)
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.

[–] [email protected] 3 points 6 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.

[–] [email protected] 7 points 6 months ago (2 children)

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

[–] [email protected] 1 points 6 months ago
[–] [email protected] 7 points 6 months ago (1 children)
[–] [email protected] 2 points 6 months ago

Yeah not sure what Jerboa did with my last word. Sense is what I typed.

[–] [email protected] 2 points 6 months ago

Htop what I use cause it's what I've been using. Only really use it to see what process is taking the most CPU usage or RAM usage. System monitors in general though are mostly useless imo

[–] [email protected] 7 points 6 months ago (1 children)

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

[–] [email protected] 2 points 6 months ago

Never heard of bottom before, I will check it out. Thanks for the suggestion.

load more comments
view more: next ›