![]() ![]() ![]() The Color Bandwidth Meter (CBM) is a small program to display the traffic currently flowing through the network devices in a simple curses-based GUI.ĭstat is a versatile replacement for vmstat, iostat and ifstat. Small and simple console-based bandwidth monitor In alphabetical order, with an excerpt of the description: apt show bwm-ng cbm dstat iftop iptraf-ng nethogs nload While it may not help you get the formatted output you're looking for, The Art of UNIX Programming is a good read, and where I found sources for those quotes.Nethogs as suggested in the accepted answer is probably the right tool to see network usage by process.įor other console network monitoring tools, here is a list of current tools on Debian 11 (or Ubuntu 20.04 LTS). Write programs to handle text streams, because that is a universal interface. ![]() Write programs that do one thing and do it well. You don't usually see *NIX console programs providing a user interface as much as data to be piped into another program, or possibly a script utilizing shell commands like cut to create their own specifically tailored outputs.ĭoug McIlroy summarized his earlier statement years later: This is particularly evident in programs that output text, like lsof. Don't clutter output with extraneous information. Expect the output of every program to become the input to another, as yet unknown, program.To do a new job, build afresh rather than complicate old programs by adding new features. Your search for something that shows both network and file statistics - which would be provided by two different parts of the operating system - seems to be up against some tenants of 'The UNIX Philosophy:' With some clever shell scripting, piped data, and a bit of manual formatting, you could get at least close to the output you're looking for. What you're trying to accomplish is possible combining multiple commands as you're currently doing, though I don't know of other apps that would provide you data easier to parse (ed: another answer suggested iftop which I did not know added a pipe-able single line text output mode). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |