bmon是一套還滿直覺的流量監視工具,搭配vnstat也是一時之選,而且檔案不到200KB可以說是短小精幹啊 🤖
安裝也很簡單,複製這段,貼到SSH即可 🤖
1 2 3 4 5 6 7 8 9 10 |
yum install -y make libconfuse-devel libnl3-devel libnl-route3-devel ncurses-devel cd /opt wget https://github.com/tgraf/bmon/releases/download/v4.0/bmon-4.0.tar.gz tar xzf bmon-*.tar.gz cd bmon-* ./configure make && make install cd /opt rm -fr bmon-* ln -s /usr/local/bin/bmon /usr/bin/bmon |
#操作也簡單,指令就是bmon,也可以指定網卡 🤖
bmon -p eth0