Install 7zip & amp; iftop on CentOS7

Source: Internet
Author: User

Install 7zip & iftop on CentOS7

P7zip_15.14.1 compilation and Installation

#!/bin/bashcd /usr/loacal/src wget http://120.52.73.43/jaist.dl.sourceforge.net/project/p7zip/p7zip/15.14.1/p7zip_15.14.1_src_all.tar.bz2yum install bzip2 gcc-c++ libgcc -ytar xvf p7zip_15.14.1_src_all.tar.bz2  -C /usr/local/cd /usr/local/p7zip_15.14.1make all_testmake && make installln -sv /usr/local/bin/7za /usr/bin/

Encrypted compressed file7za/7z a example.7z *.sh -pExtract7z x example.7z [-o/tmp/]

Iftop-0.17 compilation Installation

#!/bin/bashyum install flex byacc libpcap ncurses ncurses-devel libpcap-develcd /usr/loacal/src wget http://www.ex-parrot.com/pdw/iftop/download/iftop-0.17.tar.gztar xf iftop-0.17.tar.gz -C /usr/local/cd /usr/local/iftop-0.17./configure make && make install
  • The first line in the iftop output is the traffic scale, which is used to display the bandwidth traffic of the NIC.
  • The left and middle columns of the intermediate part record the host that is connecting to the Local Machine. "=>" indicates sending data, and "<=" indicates receiving data, the right column shows the average traffic value of the external IP address connected to the local machine within 2 s, 10 s, and 40 s in real time.

  • TX: The sent traffic;
  • RX: received traffic;
  • TOTAL: TOTAL traffic sent and received;
  • PEAK: PEAK traffic data;
  • RATES: average connection bandwidth of the last 2, 10, and 40 seconds.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.