Re:Btop++ is a power resource monitor for Linux
by Naac on Saturday September 25, 2021 @03:40PM
(#28655665)
On the surface looks like an improvement over htop ( which I've been using for 10+ years )
But this is the kind of software that I would want to keep using. Will btop keep being supported? Is btop going to be available in practically all distros I use? Even currently on Arch its only in the AUR.
Its also concerning there is btop[0] and bpytop[1]? I don't understand the difference.
Re:Btop++ is a power resource monitor for Linux
by matoro on Saturday September 25, 2021 @05:21PM
(#28656286)
I use atool (https://www.nongnu.org/atool/) for unpacking random archives - it abstracts away all formats including zip/rar/7z, compression and also guarantees that nothing is ever extracted into $CWD.
Re:Btop++ is a power resource monitor for Linux
by OJFord on Saturday September 25, 2021 @04:34PM
(#28655997)
Maybe it's just me, but this seems like the more obvious behaviour? Personally I'd typically extract in /tmp/relevant-name, and sometimes that results in /tmp/relevant-name/relevant-name.
Doesn't seem a big deal or require/cause trust issues to me.
(And when I create one, I always have to check/look up what happens, so it doesn't surprise me that a variety of things get done at all.)
Re:Btop++ is a power resource monitor for Linux
by bityard on Saturday September 25, 2021 @04:46PM
(#28656074)
It's been common convention for decades that if you distribute a source tarball of something, that everything inside is inside a directory named foobar-1.0 where 'foobar' is the project name and 1.0 is the version.
Not everyone does this, of course, but it's nice when they do. Because it means you can just wget the file into a dir and untar it without worrying about it messing up whatever is already there. Also handy for putting different versions of the project side-by-side.
Re:Btop++ is a power resource monitor for Linux
by OJFord on Saturday September 25, 2021 @05:51PM
(#28656518)
Ok, but like you say it's a mixed bag - I 'wget the file into a dir and untar it without worrying about it messing up whatever is already there', because nothing is, it's a mktemp -d or manual equivalent.
Re:Btop++ is a power resource monitor for Linux
by wyldfire on Saturday September 25, 2021 @04:48PM
(#28656081)
That was typical on DOS/Windows when distributing ZIP archives, for a long time.
But on *nix systems, the idiom for tarballs usually includes a directory containing all of the contents.
> (And when I create one, I always have to check/look up what happens, so it doesn't surprise me that a variety of things get done at all.)
True - I usually do a `tar tf foo.tar.xz |head` to get a quick peek at the archive. This generally avoids the problem of dumping a bunch of files into the current directory.
Re:Btop++ is a power resource monitor for Linux
by brightball on Saturday September 25, 2021 @05:49PM
(#28656507)
Biggest thing is if you’re doing a streaming tail with an * pattern, it figures it out and filters them into proper groups instead of a single blob stream.
I didn’t know you could something like that we tmux though. I’ll have to check it out. :)
Re:Btop++ is a power resource monitor for Linux
by ggregoire on Saturday September 25, 2021 @04:52PM
(#28656110)
> multitail
You just made my day. I always open multiple ssh sessions just to display various logs at the same time.
Seems like you can even docker-compose logs -tf | multitail -j.
edit: I never took the time to learn tmux but after just watching a use case video, seems like you could achieve the same result with tmux indeed, as the other comment suggested.
The main advantages of lnav over multitail is that it collates log files by time and does syntax highlighting. There are many other features as well -- https://lnav.org/features
Re:Btop++ is a power resource monitor for Linux
by pridkett on Saturday September 25, 2021 @06:53PM
(#28656873)
It’s giving me some pretty heavy mid-90’s BBS vibes. Even the menu with the big BTOP++ logo reminds me of a main menu on a BBS.
Now if we can just slow it down to 240 characters/second to simulate the real experience. It won’t be authentic unless it also slows down when you’re changing colors because of the ANSI escape codes.
Re:Btop++ is a power resource monitor for Linux
by yewenjie on Saturday September 25, 2021 @02:14PM
(#28655030)
I have been using glances for a terminal sysmon but I don't like that it eats so much RAM. Can someone please recommend a system monitor that is easy to comprehend and less resource hungry?
I am also curious about below [0] since it came up recently.
Re:Btop++ is a power resource monitor for Linux
by smoldesu on Saturday September 25, 2021 @02:22PM
(#28655087)
Maybe bottom[0]? I use bpytop but probably wouldn't recommend it on account of how heavy it is. I remember bottom being pretty lightweight when I used it, without sacrificing readability.
Re:Btop++ is a power resource monitor for Linux
by stjohnswarts on Sunday September 26, 2021 @10:13AM
(#28661053)
ytop is nice rust based one if you like the rust ecosystem, it's still good even if you don't but I think you need to install cargo/rust in most cases to build it, I don't think anyone packages it. "cargo install ytop" -> .cargo/bin/ytop
Re:Btop++ is a power resource monitor for Linux
by einpoklum on Saturday September 25, 2021 @03:38PM
(#28655657)
This looks very nice, but the compiler version requirement is very painful for those of us working on machines installed more than a year ago... GCC 10, ouch. I mean, newer versions are great, but when you don't control your machine's OS distribution, installing GCC 10 is not the most trivial thing to do.
Re:Btop++ is a power resource monitor for Linux
by zamadatix on Saturday September 25, 2021 @06:53PM
(#28656871)
You don't control your device OS or otherwise have access to a machine you do, your OS does not offer modern packages, and you don't have the ability to otherwise pull in development toolchain resources.... yet it's supposed to be the projects problem you can't compile something started in 2021 from source on your older setup?
I get your current situation is less than ideal for you but at some point you have to accept the project is not the source of painfulness associated with you trying to compile new apps from source, it's just the trigger.
Re:Btop++ is a power resource monitor for Linux
by einpoklum on Sunday September 26, 2021 @03:45AM
(#28659146)
You have the implicit assumption that I'm working on an individual project. Imagine a large company which settles on an OS for some product that goes into the field for 10 or 20 years. That's the OS you're stuck with. And yes, that's painful in itself.
Now, I _can_, with some effort, pull/build a development toolchain. But it would be much nicer if I could have access to this utility on machines with older toolchains, that's all.
Re:Btop++ is a power resource monitor for Linux
by harshitaneja on Sunday September 26, 2021 @06:14AM
(#28659710)
You can install the binary on your device and don't need to compile from source for using the application.
It seems unfair to both developers and other users of the project to expect it to be compatible with older toolchains given the benefits of the newer builds.
Re:Btop++ is a power resource monitor for Linux
by ghotli on Sunday September 26, 2021 @09:41PM
(#28666271)
This. In the github readme it says static binaries are supplied. Thinking of linux and linux tooling as just something distros supply limit the imagination. Pull down the correct static and you're done. If you still want to compile it, it's easy.
From linux from scratch to muslcc to buildroot to yocto you can get nice new compilers and run them in docker or in a simple chroot. Requiring new compiler versions is a good thing and any disto related impediments are a distraction from just getting simple toolchain tooling going.
Re:Btop++ is a power resource monitor for Linux
by j1elo on Saturday September 25, 2021 @08:45PM
(#28657405)
That link says "Known to work on Ubuntu 18.04, 20.04, and 21.04", although maybe Ubuntu is just the default selection when the page loads... still, I guess you won't be testing much new software if they don't allow you even using Docker!
Re:Btop++ is a power resource monitor for Linux
by jcelerier on Sunday September 26, 2021 @02:59AM
(#28658978)
If you don't even have the right to install docker on your own machine what makes you think that your sysadmins are ok with you compiling this random software from the internet anyways ?
Re:Btop++ is a power resource monitor for Linux
by mcbuilder on Saturday September 25, 2021 @08:14PM
(#28657255)
Wow, this is a very nice fully featured, with mouse support, terminal application! Just installed from the AUR and hopefully will remember it to replace htop in my mind!
> The Linux version of btop++ is complete. Released as version 1.0.0
My impression is that btop++ is the successor to bpytop. Or even if bpytop continues to be maintained that they intend for most people to use btop++ instead going forward.
Re:Btop++ is a power resource monitor for Linux
by pabs3 on Saturday September 25, 2021 @10:24PM
(#28657897)
I recommend the C reimplementation of iotop btw, it has lots more features and is more efficient and is maintained. It is packaged as iotop-c in Debian and other distros.
But this is the kind of software that I would want to keep using. Will btop keep being supported? Is btop going to be available in practically all distros I use? Even currently on Arch its only in the AUR.
Its also concerning there is btop[0] and bpytop[1]? I don't understand the difference.
[0]https://github.com/aristocratos/btop
[1]https://github.com/aristocratos/bpytop
Looks like it might be in standard Ubuntu repositories:
https://manpages.ubuntu.com/manpages/xenial/man1/unp.1.html
https://theunarchiver.com/command-line https://github.com/MacPaw/XADMaster
in difference to unp and atool, unar does not depend on other tools to unpack the actual archive
Doesn't seem a big deal or require/cause trust issues to me.
(And when I create one, I always have to check/look up what happens, so it doesn't surprise me that a variety of things get done at all.)
Not everyone does this, of course, but it's nice when they do. Because it means you can just wget the file into a dir and untar it without worrying about it messing up whatever is already there. Also handy for putting different versions of the project side-by-side.
But on *nix systems, the idiom for tarballs usually includes a directory containing all of the contents.
> (And when I create one, I always have to check/look up what happens, so it doesn't surprise me that a variety of things get done at all.)
True - I usually do a `tar tf foo.tar.xz |head` to get a quick peek at the archive. This generally avoids the problem of dumping a bunch of files into the current directory.
I've found some other cool CLIs written with rust at https://github.com/TaKO8Ki/awesome-alternatives-in-rust
I never heard of this one before. What's the benefit instead of doing this with Tmux?
I didn’t know you could something like that we tmux though. I’ll have to check it out. :)
You just made my day. I always open multiple ssh sessions just to display various logs at the same time.
Seems like you can even docker-compose logs -tf | multitail -j.
edit: I never took the time to learn tmux but after just watching a use case video, seems like you could achieve the same result with tmux indeed, as the other comment suggested.
https://lnav.org/2021/05/03/tailing-remote-files.html
The main advantages of lnav over multitail is that it collates log files by time and does syntax highlighting. There are many other features as well -- https://lnav.org/features
Now if we can just slow it down to 240 characters/second to simulate the real experience. It won’t be authentic unless it also slows down when you’re changing colors because of the ANSI escape codes.
Bower Tesource Onitor for Pinux
I am also curious about below [0] since it came up recently.
[0] https://github.com/facebookincubator/below
[0] https://github.com/ClementTsang/bottom
See: https://docs.docker.com/engine/security/rootless/#prerequisi...
I get your current situation is less than ideal for you but at some point you have to accept the project is not the source of painfulness associated with you trying to compile new apps from source, it's just the trigger.
Now, I _can_, with some effort, pull/build a development toolchain. But it would be much nicer if I could have access to this utility on machines with older toolchains, that's all.
It seems unfair to both developers and other users of the project to expect it to be compatible with older toolchains given the benefits of the newer builds.
From linux from scratch to muslcc to buildroot to yocto you can get nice new compilers and run them in docker or in a simple chroot. Requiring new compiler versions is a good thing and any disto related impediments are a distraction from just getting simple toolchain tooling going.
There is no such implication.
Create an htop alias for btop. Then you'll never have to worry about forgetting it.
https://github.com/aristocratos/bpytop
It says:
> The Linux version of btop++ is complete. Released as version 1.0.0
My impression is that btop++ is the successor to bpytop. Or even if bpytop continues to be maintained that they intend for most people to use btop++ instead going forward.
https://github.com/Tomas-M/iotop