Live data from Hacker News

What: A terminal tool to check what is taking up your bandwidth

github.com

81–90 of 190 posts

Re: What: A terminal tool to check what is taking up your bandwidth

#81

Bad naming.. WHAT(1) BSD General Commands Manual WHAT(1) NAME what -- show what versions of object modules were used to construct a file (MacOS ...)

This is in the top class of utilities (htopm etc). A good name could probably be bwtop, or tcptop or iftop. Actually I searched for these, and turns out iftop exists! ( https://linux.die.net/man/8/iftop )

Another option, since there are so many "tops," is something like psbw... Process bandwidth. Reminiscent of ps ax but ps bw.

Re: What: A terminal tool to check what is taking up your bandwidth

#82
post #65

Earlier quoted context omitted.

This is in the top class of utilities (htopm etc). A good name could probably be bwtop, or tcptop or iftop. Actually I searched for these, and turns out iftop exists! ( https://linux.die.net/man/8/iftop )

My complaint about the name is that it would be hard to "google" it. This means if I don't bookmark it or remember where I found it, then a couple of years from now when my laptop needs to be rebuilt, I'll have the darndest time finding it to install it again.

This effectively made github my second search engine. We should have an AskHN on how to find software in general.

Re: What: A terminal tool to check what is taking up your bandwidth

#83

Bad naming.. WHAT(1) BSD General Commands Manual WHAT(1) NAME what -- show what versions of object modules were used to construct a file (MacOS ...)

Is there a website one can test names against? Of course you can locally but that doesn't easily cover the distros you might be thinking of targeting.

Re: What: A terminal tool to check what is taking up your bandwidth

#84
Looking at how it does reverse DNS lookups to try and map backwards... is there such thing as a crowdsourced database that resolves the most common domain name(s) that resulted in a given IP address? Seems like this would be tremendously useful for any sort of network tooling, but I can’t find any references from a quick search.

Re: What: A terminal tool to check what is taking up your bandwidth

#85
post #75

Hey, I am the author of "what" and am very happy to hear people like this tool I made. :) "what" was my first real attempt at rust, and I love the project very much. That said, it is a hobby project - and so I will likely be a few days responding to all issues and contributions that came from this thread. "what" has already received some great contributions that are major parts of the code base. I would be very happy…

Thanks for the tool. Easier install methods would be great. For now I've added the following to my bootstrap makefile:

    wget -qO- https://github.com/imsnif/what/releases/download/${WHAT_VERSION}/what-v${WHAT_VERSION}-x86_64-unknown-linux-musl.tar.gz |  tar xvz -C ~/bin/

Re: What: A terminal tool to check what is taking up your bandwidth

#86
post #40

Earlier quoted context omitted.

'whence' would be more specific – it's archaic in English, it means 'from where' – although it's used within the ksh shell.

zsh also implements whence

ksh as well. Found someone’s reference to various “what” type commands[1]:

> The whence command is a Korn Shell feature that tells how a name would be interpreted by the shell: it detects commands and aliases, and searches your path.

[1] http://www.robelle.com/smugbook/whence.html

Re: What: A terminal tool to check what is taking up your bandwidth

#87
post #51

top of HN front page and without mentioning that it is written in Rust

What's that have to do with anything (it being top front page)? are there guidelines for naming posts so that the language a software is written in is preferably in the title?

Re: What: A terminal tool to check what is taking up your bandwidth

#90
post #84

Looking at how it does reverse DNS lookups to try and map backwards... is there such thing as a crowdsourced database that resolves the most common domain name(s) that resulted in a given IP address? Seems like this would be tremendously useful for any sort of network tooling, but I can’t find any references from a quick search.

You do realize that multiple domains may be hiding behind the same IP address? This is very common with CDNs (although the bigger players can afford a static CDN IP, I guess)
Post reply on HN