Is there a commandline tool for GNU/Linux which will analyse download and upload speed, packet-loss, latency and other factors which will indicate internet connectivity status?
Commandline tool for comprehensive and integrated testing of internet connectivity
command line;internet
You can use iftop to show bandwidth usage. 