Btop sufficient to replace Top/htop
Posted by RandomXUsr@reddit | linuxadmin | View on Reddit | 27 comments
I've been using btop in place of traditional top and htop.
Seems to work well to identify possible resource issues or manage processes by hand occasionally.
Do you all have a preference? And is btop acceptable to use in the enterprise?
greybeardthegeek@reddit
Real geeks use atop.
broknbottle@reddit
PCP and Below are superior
https://github.com/facebookincubator/below
FinancialDaikon1660@reddit
atop has an advantage of being able to run for a timeframe, save to a file, then be examined later. This is great for tracking things down, especially intermittent things, and can be used on a set of machines easily. So it scales much better in an enterprise setting than more one-off interactive tools. So btop has its place and looks good for those use cases, but don't forget that we have a huge toolbox available and sometimes you want a different tool for a use case.
Impossible-graph@reddit
Real geeks use CLI tools. No need for your fancy TUIs /s
Smooth_Signal_3423@reddit
What problems does
btop
solve thathtop
does not?JackDostoevsky@reddit
it looks prettier?
Hotshot55@reddit
Further, what does
htop
do thattop
does not? I find most people try to replacetop
because they don't want to take any time to learn how the tool works.juggernaut911@reddit
Is it enough that it can look pretty nice? screenshot
Hotshot55@reddit
I'm not saying htop is a bad tool in any way. You just probably don't need it.
doubled112@reddit
I like htop's default better. That's about it.
Hotshot55@reddit
That's somewhat my point, top is usually just going to be there and htop, for the vast majority of people, just displays the same data slightly differently.
doubled112@reddit
htop does (or did) have a few things top didn't. I agree they're interchangeable for the vast majority.
Off the top of my head, I don't believe top will show CPU temperature and frequency? htop can. Completely useless on a virtual server but might be useful on a physical server/desktop.
Colours help a lot of people too.
Backplague@reddit
htop
's colorful bar gauges are a lot more readable to me thantop
's rows of numbers one after another.htop
also has mouse support (yeah yeah sue me for using the mouse in the terminal)Smooth_Signal_3423@reddit
Or, as in my case,
htop
was so considered the "standard" when I was learning linux that I never felt I needed to learn it.juggernaut911@reddit
Is it enough that it can look pretty nice? screenshot
gribbler@reddit
GPU information: working in VFX is very helpful. I've not looked into if htop can, but our artists prefer how pretty btop is
Fr0gm4n@reddit
History. btop has running graphs of the state instead of just the most current like top/htop.
RandomXUsr@reddit (OP)
It easier for me to read. Easier on the eyes I suppose.
And the output makes more sense for myself.
mgedmin@reddit
I kind of like htop. I miss top's "hide idle tasks" mode (i) that htop doesn't have.
I sometimes use atop, because it shows a lot, and focuses on bottlenecks. It's output is hard to read, and the UI is a bit clumsy. Its history rewinding facilities are fabulous and unique.
I haven't seen btop before. At first glance it seems to be valuing aesthetics over usability, but maybe I'll change my mind if I try to use it for longer.
RandomXUsr@reddit (OP)
It has some nice key bindings. Btop that is.
Easily switch to treeview. The fonts are a bit larger by default and the colors help.
T for tree view F for find K to kill a process.
mgedmin@reddit
It's a terminal application, how can the font size be different from any other terminal application?
shulemaker@reddit
Since asked about the enterprise:
If you’re looking at top on a sever, you probably just logged in to find out why something was slow, due to an alert or complaint. You’re starting out looking for top resource usage. Now is not the time to fiddle with installing something (and possibly making an unstable system even worse). Historical graphs are handled by external monitoring, so there is no need to double up on that.
top, vmstat, iostat, and iotop are all much more likely to be useful in the moment when troubleshooting during an ongoing incident.
If you want to preinstall this where you can, go ahead, but it’s much better to be proficient with standard tools, especially when you log onto an old box, appliance, or something not under your control.
TuxRuffian@reddit
They serve two completely different purposes. My
tmux
sessions have a tab that runshtop
and another that runsbtop
(w/o the process window).btop
is more of aglances
/conky
/bottom
replacement where you can get a quick overview of the system. View combined network activity, combined RAM utilization, disk utilization, etc.htop
is more akin totop
in that focuses on processes only, but adds several interactive commands for a given process likestrace
,lsof
,renice
, orionice
. It is still the best TUI for process management IMHO and has been since I started w/Linux over 20 years ago.dub_starr@reddit
its the best top around
kolorcuk@reddit
Ive been using glances. It shows on the bottom like "cpu io is high" alertish like.
FostWare@reddit
On Ubuntu, htop is a package and btop is a snap. I’ll stick to htop on servers (yes they’re centrally monitored but the precision isn’t there)
mgedmin@reddit
htop 1.3.0-1 is available as an apt package on Ubuntu 24.04. (The snap is version 1.4.0)