Debian/Ubuntu:基于控制台的网络负载监视器
时间:2020-01-09 10:43:42 来源:igfitidea点击:
如何的是当前设备统计信息以及一个漂亮的图表。
如何在Debian或者Ubuntu Linux操作系统下使用基于控制台的软件监视网络负载?
这是一个易于使用的网络负载监视器。
它可以在ssh会话上运行,并且可以轻松地安装在Debian或者Ubuntu Linux操作系统下。
它可以使用ascii图形可视化网络接口流量。
安装
执行以下命令:
$ sudo apt-get install slurm
输出示例:
Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: slurm 0 upgraded, 1 newly installed, 0 to remove and 11 not upgraded. Need to get 0 B/24.0 kB of archives. After this operation, 123 kB of additional disk space will be used. Selecting previously deselected package slurm. (Reading database ... 280982 files and directories currently installed.) Unpacking slurm (from .../slurm_0.3.3-2_amd64.deb) ... Processing triggers for man-db ... Setting up slurm (0.3.3-2) ...
我如何使用slurm?
语法为:
slurm -i ethX slurm [options] -i ethX
-i选项选择要监视的接口:
slurm -i eth0
要使用经典/组合图开始口吃,请通过-c选项:
slurm -i eth0 -c
要在拆分图形模式下开始启动Slurm,请通过-s
选项:
slurm -i eth0 -s
要以大拆分图模式开始启动slurm,请通过-l选项:
slurm -l eth0 -c
键盘快捷键代码
从手册页
slurm supports several different keys for interaction: c switch to classic mode s switch to split graph mode l switch to large graph mode L enable TX/RX led m switch between classic, split and large view z zero counters r redraw screen q quit slurm