Live data from Hacker News

Btop++ is a power resource monitor for Linux

github.com

31–40 of 66 posts

Re: Btop++ is a power resource monitor for Linux

#31

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.

You can just use a GCC docker image to build: https://hub.docker.com/_/gcc

No I can't... without an appropriate installation of docker and/or dependencies of docker.

See: https://docs.docker.com/engine/security/rootless/#prerequisi...

Re: Btop++ is a power resource monitor for Linux

#32

Earlier quoted context omitted.

htop and multitail are always tied for me.

https://linux.die.net/man/1/multitail I never heard of this one before. What's the benefit instead of doing this with Tmux?

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

#33
post #25
post #22

Earlier quoted context omitted.

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.)

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…

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

#34
post #6

The first thing I do with a Linux installation it's always add htop, and this it's the first time I feel the need to try something new in my routine.

I like htop+dstat as nice compliments, but sadly dstat isn't universally available like htop and it's unmaintained

Re: Btop++ is a power resource monitor for Linux

#35
post #29

Quick word of warning, if you download it: The release archive doesn't create a directory, just untars into $CWD. So do this: mkdir btop cd btop tar xjvf ~/Downloads/btop.....tbz ./install.sh Apart from that, it looks really, really nice. I like it a lot!

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.

I use `unp` for the same thing. `-u` extracts into a directory.

Re: Btop++ is a power resource monitor for Linux

#36

Earlier quoted context omitted.

htop and multitail are always tied for me.

> 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.

tmux or gnu screen work fine (screen is sometimes installed when tmux is not)

Re: Btop++ is a power resource monitor for Linux

#37

Earlier quoted context omitted.

You can just use a GCC docker image to build: https://hub.docker.com/_/gcc

No I can't... without an appropriate installation of docker and/or dependencies of docker. See: https://docs.docker.com/engine/security/rootless/#prerequisi...

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

#38
post #2

That terminal UI is a work of art...

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

#39

Earlier quoted context omitted.

htop and multitail are always tied for me.

> 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.

If you're open to new tools, the latest version of the Logfile Navigator (lnav) supports remote hosts over ssh:

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

Post reply on HN