Skip to content

Shell command to report network interface bandwith, written in bash

License

Notifications You must be signed in to change notification settings

alvarogzp/ifstat.sh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 

Repository files navigation

ifstat.sh

ifstat.sh is a shell command to report network interface usage, like vmstat/iostat do for other system counters. It works by printing the current speed at regular intervals. It has several options to configure it, and features a summary display of the measured network activity when it stops.

ifstat.sh is an ifstat alternative completely written in bash. I created it in 2011 because I knew no other way to monitor current network speed in real time.

Disclaimer

I know this is not the best code one could write, not even on bash (I have better examples over there). I did it when I was still learning basic programming, and it is written and documented in Spanish (my native language).

But I find ifstat.sh very useful, I use it frequently, and it is very stable and complete. Also, I am proud to have developed something like this given the limited programming knowledge I had then. So, I have uploaded it here hoping it might be as useful for someone as it is for me.

About

Shell command to report network interface bandwith, written in bash

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages