虽然当下,查看网卡当前的下载,上传速度的软件很多。比如说nethog就是一个。。但是不太喜欢那种style。就自己写了一个。功能有点少,以后想到什么,就加进去吧。

Usage: run.py [options] device1 ...

Options:

  --version             show program's version number and exit

  -h, --help            show this help message and exit

  -B                    show output is  B

  -K                    show output is  KB

  -M                    show output is MB

  -H                    print sizes in human readable format (e.g., 1K 234M)

  -i INTERVAL, --interval=INTERVAL

                        interval in seconds(default 1)

图:

linux下载上传速度查看


linux下载上传速度查看


代码在这:https://github.com/lujinda/netspeed



转载于:https://my.oschina.net/tuxpy/blog/303754

相关文章: