|
|
[root@mantisbt01 software]# wget http://www.ex-parrot.com/pdw/iftop/download/iftop-0.17.tar.gz1 B& l( T3 m1 C- l# s( S
--2018-04-04 15:17:12-- http://www.ex-parrot.com/pdw/iftop/download/iftop-0.17.tar.gz
) J6 c* E5 S9 m* u/ l4 C7 {Resolving www.ex-parrot.com (www.ex-parrot.com)... 93.93.130.166, 2a00:1098:0:82:1000:0:1:2
( ^, @2 Q( c! ZConnecting to www.ex-parrot.com (www.ex-parrot.com)|93.93.130.166|:80... connected.
- r, t2 H, R( R) ^( QHTTP request sent, awaiting response... 200 OK/ a) m Q; C& C4 ]8 y
Length: 160381 (157K) [application/gzip]
8 w* J) E' p' I0 Y/ _$ j' q0 gSaving to: ‘iftop-0.17.tar.gz’
# ?5 D' j' b* |. Y8 b7 |$ F( _1 C
6 y$ V! ^. s+ Z/ s100%[==============================================>] 160,381 101KB/s in 1.5s, L t. I2 Y5 V2 ]$ i% w7 |
6 v0 Y+ F4 m, W( e0 w" A& D6 E9 Z
2018-04-04 15:17:15 (101 KB/s) - ‘iftop-0.17.tar.gz’ saved [160381/160381]
- _6 M5 {: p* W5 `; Y+ ?' U5 L# Y' {$ {8 p1 A
[root@mantisbt01 software]# tar -xf iftop-0.17.tar.gz
6 a- G: p% Q6 c! e. R9 M) x: ][root@mantisbt01 software]# chown -R root.root iftop-0.173 R' r( h0 k4 v- m
[root@mantisbt01 software]# cd iftop-0.17" k' E( |$ y: _. g* T" o
[root@mantisbt01 iftop-0.17]# ./configure --help3 ~- r$ W- _5 x; r7 o$ |! s) E$ a$ x
`configure‘ configures this package to adapt to many kinds of systems.' k" }% j4 y- E6 @, c: s$ J: }
; J& u* L9 j) z) w9 R( M9 y
Usage: ./configure [OPTION]... [VAR=VALUE]...
& Z ]8 W) _( x6 j6 ~0 J- C0 h' _
) i4 {! v* q2 a# sTo assign environment variables (e.g., CC, CFLAGS...), specify them as7 h7 ~. R& q9 C( ?6 N) k/ @( y: W
VAR=VALUE. See below for descriptions of some of the useful variables.
0 t/ b5 w' n( H" u# N( \1 R! v8 s$ ?2 g5 o
Defaults for the options are specified in brackets.1 z9 }+ q- {- Q6 N$ {2 C
; ]1 g* s( G. L
Configuration:
4 f8 d2 H3 @2 ?-h, --help display this help and exit
) k) `8 f& P% e0 |" \--help=short display options specific to this package" ?9 o3 x m s7 z, l
--help=recursive display the short help of all the included packages
/ S' I& s% u( S1 \; I-V, --version display version information and exit
& T0 Y2 y( v+ n1 H1 f-q, --quiet, --silent do not print checking...‘ messages<br/>--cache-file=FILE cache test results in FILE [disabled]<br/>-C, --config-cache alias for--cache-file=config.cache‘
3 g$ w* W" ]0 g. Y. O1 d-n, --no-create do not create output files3 V% a( p0 k& l) z
--srcdir=DIR find the sources in DIR [configure dir or `..‘]
+ n$ Q$ }, C& w
( T: _7 T# Z$ m2 L. p0 A6 @7 b: V2 NInstallation directories:2 |! i4 ^' D6 O/ J" N
--prefix=PREFIX install architecture-independent files in PREFIX% w Y+ J8 [. |( d
[/usr/local]
/ _) g! ~3 w& c+ r2 r--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX! f. }4 q8 f _1 A u
[PREFIX]! S# ?, C- O/ b7 ^) G
. \' b9 O& E+ ^; L. j# x) F, ` h
By default, make install‘ will install all the files in<br/>/usr/local/bin‘, /usr/local/lib‘ etc. You can specify<br/>an installation prefix other than/usr/local‘ using --prefix‘,<br/>for instance--prefix=$HOME‘.9 E* b) e' E3 D( b- u7 a
: [# D" h2 }. m# C
For better control, use the options below.$ |/ c4 v5 f% S+ W# N
. Q+ U& e7 ?2 WFine tuning of the installation directories:: G- W% X {. b# R9 g& }
--bindir=DIR user executables [EPREFIX/bin]* @9 b: W7 x1 v' w
--sbindir=DIR system admin executables [EPREFIX/sbin], H& U1 t! z; p/ U. F' Q9 H
--libexecdir=DIR program executables [EPREFIX/libexec]
- K0 v& k' `6 L `; X' N--datadir=DIR read-only architecture-independent data [PREFIX/share]
- E+ f1 x; j1 Q3 H2 M: v) M) v8 M& z--sysconfdir=DIR read-only single-machine data [PREFIX/etc]0 j, e% g) s- h+ |1 e/ C
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]" D- _( w/ @0 W
--localstatedir=DIR modifiable single-machine data [PREFIX/var]6 d3 X9 n9 o2 b9 Y& G, H2 y- Z8 n# [
--libdir=DIR object code libraries [EPREFIX/lib]3 A- w: d3 d- z: t4 X# X+ ~
--includedir=DIR C header files [PREFIX/include]- H( v# B4 L( c% l7 G
--oldincludedir=DIR C header files for non-gcc [/usr/include]
2 k; m/ S7 o; T+ f--infodir=DIR info documentation [PREFIX/info], D: J& D" x# F. K9 }6 c- l I
--mandir=DIR man documentation [PREFIX/man]) \( \* B4 @3 ^, N- s
% |. R) O7 F/ k, x
Program names:
3 ^3 @1 z. f$ W% c$ I- D5 v: r--program-prefix=PREFIX prepend PREFIX to installed program names
! p9 Q9 C. ^' g3 F( V. S( E--program-suffix=SUFFIX append SUFFIX to installed program names
3 N) \* m% j1 b _5 o+ x+ a' _--program-transform-name=PROGRAM run sed PROGRAM on installed program names+ x/ e- u( V' Y, H9 }& E2 p
, r! ?) k- n& C$ W, ^4 s+ _# G
System types:( ^7 j& W& W1 ?+ ~
--build=BUILD configure for building on BUILD [guessed]
( ], _+ _1 E/ J- j: k* q# O--host=HOST cross-compile to build programs to run on HOST [BUILD]& A) w7 L- S8 M. i0 O! H$ p0 t
--target=TARGET configure for building compilers for TARGET [HOST]' y! r/ o0 J- V& R
0 |- \$ K2 `: nOptional Features: u7 i. J2 Y/ m+ w
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
: M0 j) s+ f! C t' N# B* @5 S--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
7 | Q6 [- I3 {& v7 G--disable-dependency-tracking Speeds up one-time builds
4 T0 C' b- m. V+ S" R0 E; W# h6 x--enable-dependency-tracking Do not reject slow dependency extractors
+ D1 o3 h+ o1 e: a8 ^" a% I8 T7 x--enable-default-promiscuous If enabled, iftop will operate in promiscuous mode( W8 ~, f& [+ S4 G. L6 [. z
to capture outgoing packets
( H- c0 B$ D$ z
. }6 t+ G+ m2 A! hOptional Packages:
8 ] c! j6 E: P5 W--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
: d5 t& `$ G7 e3 |# J* U$ a3 K--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
: f, a* d6 A' h" f9 |) c$ U/ J! v--with-resolver=TYPE Technique iftop should use for name resolution.
6 c$ f3 \. u5 e& QValid options are:; T, H* l O. a
netdb use gethostbyaddr_r in multiple8 C9 o) j- q$ {2 k& r9 I9 N) L, z
threads.
# Y6 |0 Z; H, G/ b# h8 Z K. `: gnetdb_1thread use gethostbyaddr_r and
% M* g. s2 o s/ kassume it is not reentrant.* w5 ?/ B( h. b2 g0 m$ K8 H
ares use the MIT ARES asynchronous
% A' o* U( i r- A. D" Q/ r8 J7 ~resolver library.; ?5 Y1 d1 @( P
forking use the REALLY SUCKY forking resolver.
; D5 _6 O. w- I0 ^ O7 Z. dguess run experiments to guess a5 j& J8 x& K; s4 O6 f
reasonable value. Only works if you3 L, l1 z3 S4 C
aren‘t cross-compiling. This
& Y- P" P4 f0 }" [% s! Lis the default. guess will
, q& ]- c) c+ l4 M$ O# N1 aeither select netdb or netdb_1thread.
$ T, Z" x8 ~0 O `0 K( vnone don‘t do name resolution.4 h+ U- X3 ]! S
--with-libpcap=WHERE Where the libpcap packet-capture library is found.6 G6 E5 t8 _% k) P+ q: C: s
The pcap library should be installed in WHERE/lib,' w$ ]/ |0 _- Y2 V
and the header file in either WHERE/include or2 ?( u: R4 I1 c3 d( S0 h, I
WHERE/include/pcap.
0 w6 v% l/ l* y6 }" w3 [9 s5 Wdefault=look in standard locations2 w1 x4 j0 R0 o( ~! e
2 v1 e% h% Z4 ?: Q% F/ ]3 D4 b* |Some influential environment variables:' a/ k: T1 V' O& K; B; Q, E0 q& ?
CC C compiler command
. e8 ^) @+ M" S+ QCFLAGS C compiler flags5 G/ x! Z& c( n$ U* ^
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a( Y" F' }8 I1 Y& j! A. I6 r
nonstandard directory <lib dir>4 L* P" S' O! p3 h1 \$ o
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
4 Q0 ^( _( g$ j: y mheaders in a nonstandard directory <include dir>
, x" |4 F5 l1 h* s" o: eCPP C preprocessor8 N8 j8 y% R6 }, n' g. E5 l5 k3 P
9 C; H, f$ u+ W# [0 JUse these variables to override the choices made by `configure‘ or to help- s& l, s+ x$ m# v( y% W
it to find libraries and programs with nonstandard names/locations.
, f% G; ?) N, s F. T1 {2 T: C8 d, X7 r- B* h$ M# d& }2 f
[root@mantisbt01 iftop-0.17]# ./configure --prefix=/opt/iftop --bindir=/usr/bin/^C) b a# E4 \, V% w
[root@mantisbt01 iftop-0.17]# ls -ltr /usr/bin/ | head
: B3 x" \- t7 C% t! G$ j0 Y0 p6 Qtotal 547436: K' V" B9 `7 V
-rwxr-xr-x 1 root root 86504 Jun 10 2014 yacc, |0 Q8 z% ^$ U5 w; X2 f
-rwxr-xr-x. 1 root root 11004 Jun 10 2014 pod2text3 z* B' ]) }* x# r, h! y2 I. a/ I4 I
-rwxr-xr-x. 1 root root 13581 Jun 10 2014 pod2man
, F: B6 p, f+ ~-rwxr-xr-x. 1 root root 271 Jun 10 2014 neqn
. }3 b, ] U) o- ?! K9 |-rwxr-xr-x. 1 root root 3392 Jun 10 2014 nroff
, e- ~* e3 F* O' H' {( p-rwxr-xr-x. 1 root root 525272 Jun 10 2014 troff: }' v; J+ N* H) B
-rwxr-xr-x. 1 root root 118744 Jun 10 2014 tbl& x9 z& R5 t- i+ p, X0 x* P
-rwxr-xr-x. 1 root root 33368 Jun 10 2014 soelim: M' v" M! E5 c7 k3 Q/ Q1 b
-rwxr-xr-x. 1 root root 88312 Jun 10 2014 pre-grohtml
" _( v3 b5 v+ J% b' F% ], n[root@mantisbt01 iftop-0.17]# ./configure --prefix=/opt/iftop --bindir=/usr/bin/
x3 u6 S( A( {3 G" tchecking build system type... x86_64-unknown-linux-gnu3 z4 L7 l7 t. E' V4 v
checking host system type... x86_64-unknown-linux-gnu
) |9 ]8 B* y; v8 i) Nchecking target system type... x86_64-unknown-linux-gnu, I& E) b1 y$ _/ G
checking for a BSD-compatible install... /usr/bin/install -c0 Y' P8 Q8 w4 R5 Q3 ?( p4 [" k. C) Z( ~
checking whether build environment is sane... yes4 h8 ~7 p; Q' \7 i( x7 @9 e
checking for gawk... gawk
. ]) Y4 r9 b) achecking whether make sets ${MAKE}... yes' \3 O, t) I0 A! i
checking for gcc... gcc2 j9 s$ ?/ y# k& \! h/ F0 k
checking for C compiler default output... a.out
9 |. B; G$ W8 M4 k5 d- ^checking whether the C compiler works... yes/ e5 [7 D* R& K
checking whether we are cross compiling... no
6 {; {; Q- g7 p: h' P4 schecking for suffix of executables...
2 b4 a3 d- }5 }2 dchecking for suffix of object files... o
1 I4 g9 h. h% {8 l4 {8 K& T7 C$ ^9 Gchecking whether we are using the GNU C compiler... yes6 {5 h6 f$ d; N8 }5 u0 r
checking whether gcc accepts -g... yes1 q7 Q. @5 {6 {7 D
checking for gcc option to accept ANSI C... none needed
; G. N0 U+ _0 Lchecking for style of include used by make... GNU( d" i/ d6 T: g# x! `- y
checking dependency style of gcc... gcc30 h- ^4 h! j9 ]; d
checking how to run the C preprocessor... gcc -E
6 s6 j2 G0 K' X# ychecking for egrep... grep -E; t1 @7 ?) C% e7 G+ S
checking for ANSI C header files... yes
; ?. w' K$ M! ~6 v! Ichecking for sys/types.h... yes
0 Z, @( G8 y! O( Y1 Ichecking for sys/stat.h... yes
2 l# k7 Z- Y& a, ] Q& Ochecking for stdlib.h... yes7 w2 F% f# C9 w5 f1 h2 J. R
checking for string.h... yes
7 n4 B1 a8 T# m2 rchecking for memory.h... yes1 V u; ^2 V' x' V
checking for strings.h... yes
$ p+ p4 X, y" H, O; ]: I! `; }checking for inttypes.h... yes
3 A7 y& j. f9 wchecking for stdint.h... yes
. s; l1 w8 u& H7 V. j: gchecking for unistd.h... yes+ w4 R& w2 K( d/ E
checking sys/ioctl.h usability... yes, f% i. @, [( t( z7 R* v
checking sys/ioctl.h presence... yes: u' @" [! P; U" X) b0 A; L
checking for sys/ioctl.h... yes: `' ]! V# S) j$ H$ r" m
checking sys/time.h usability... yes# H; L; I" ~$ ]* X$ g& B
checking sys/time.h presence... yes& g5 p' k$ |- B& T
checking for sys/time.h... yes5 W9 Z4 {/ q1 }) q( z
checking sys/sockio.h usability... no
. ]/ d7 X3 b2 u2 r/ t0 V; ^checking sys/sockio.h presence... no
9 o- l4 K: Z3 h- o% R( s: I6 l/ Echecking for sys/sockio.h... no: O, O2 j# i- f: Y3 m: l: ^
checking for unistd.h... (cached) yes$ k) D. V3 ^' S; V. B. w& b" v
checking for an ANSI C-conforming const... yes
: ~' b) l, g4 dchecking for size_t... yes
4 ^3 E( ?* x4 o9 a2 @ ~& Uchecking whether time.h and sys/time.h may both be included... yes
- H+ g2 Q% C" o# fchecking sys/dlpi.h usability... no. h3 |3 ^, O- N- Z
checking sys/dlpi.h presence... no7 c$ u1 A/ a( G; |+ i. j* t
checking for sys/dlpi.h... no+ a* A! P5 z$ A5 V$ f5 o' H2 X
checking for regcomp... yes+ N8 D, w Q z
checking for select... yes8 w7 A! ?8 C" m6 P- m" [
checking for strdup... yes
+ |- m2 I- Q. K( }% tchecking for strerror... yes
1 m J3 K) @3 b7 ]3 _$ Uchecking for strspn... yes
' _; H* w( \7 x/ `' v' x* h* Ychecking for library containing socket... none required
& S0 x R7 t. q9 B4 Q8 Q7 achecking for library containing log... -lm
8 `6 u, P8 [' Y& ^) K2 echecking for gethostbyname... yes
( R0 X7 E( b0 H( M& zchecking for library containing inet_aton... none required* a' S' N- N' ^* D) `, R: `. U
checking for library containing inet_pton... none required: s8 v I i& N
checking for inet_aton... yes
) {: [! t3 s+ ?3 Tchecking for inet_pton... yes; n! S- m1 V5 m8 G3 z' X
checking size of u_int8_t... 1+ ~4 E1 v4 {3 b4 l4 g
checking size of u_int16_t... 2! W# }0 I, t( b0 N6 Q4 E
checking size of u_int32_t... 4# W( ?2 P1 O6 E
checking for library containing getnameinfo... none required7 W7 ?0 J# Q/ {/ I' ^# W
checking for library containing gethostbyaddr_r... none required
& Z; X; V" J. ?. uchecking how to call gethostbyaddr_r... 8 args, int return
& S4 p- c# ^& M. Y, |+ ~' Cchecking gethostbyaddr_r usability... yes7 Y9 w( w$ _4 k/ k! F- O( |! \: o
checking where to find pcap.h... /include8 N% a, a% k- T% G! N
checking for pcap_open_live in -lpcap... yes
& x. ?! z, Q" |# rchecking pcap.h usability... yes" @ W1 U4 k; e3 W2 B$ k
checking pcap.h presence... yes
( M# i+ g( m( ~' |' s& g0 |checking for pcap.h... yes
8 o; {# [2 r/ \& s( p- achecking for a curses library containing mvchgat... -lcurses
2 ~; w+ y( K/ h+ T; Mchecking POSIX threads compilation... CFLAGS= and LIBS=-lpthread. D+ o6 H+ w3 v
checking POSIX threads usability... yes
_* Y5 l" B0 I9 Gchecking if we need to enable promiscuous mode by default... no
" y; g" K' k! j7 J# ^# D( N+ ~- qconfigure: creating ./config.status
% M) i( E- v5 t `+ a" j+ |* iconfig.status: creating Makefile
- c6 |+ a8 T8 [7 c. h& ]config.status: creating config/Makefile
5 n* [5 }" [7 u* L/ m) O) sconfig.status: creating config.h
8 _1 B0 h" V; Y! n" Bconfig.status: executing depfiles commands
9 W. \4 C* o. h% c[root@mantisbt01 iftop-0.17]#
; F g z: a4 e/ X- U
8 M; E x/ z v- D8 f7 n5 Y2 ][root@mantisbt01 iftop-0.17]# echo $?1 l# f2 H% x P$ f& {* B
0) a" g/ ^& \% v8 v0 d' z$ w
[root@mantisbt01 iftop-0.17]# make, v# b2 M8 v8 t8 D3 V5 ^0 |0 n
make all-recursive0 O2 \8 w6 i# m
make[1]: Entering directory /root/software/iftop-0.17‘<br/>Making all in config<br/>make[2]: Entering directory/root/software/iftop-0.17/config‘* Z, \+ d4 }4 S; ]
make[2]: Nothing to be done for all‘.<br/>make[2]: Leaving directory/root/software/iftop-0.17/config‘
( I; Q% x8 n2 ~ p* H) t3 }- D0 zmake[2]: Entering directory /root/software/iftop-0.17‘<br/>source=‘addr_hash.c‘ object=‘addr_hash.o‘ libtool=no \<br/>depfile=‘.deps/addr_hash.Po‘ tmpdepfile=‘.deps/addr_hash.TPo‘ \<br/>depmode=gcc3 /bin/sh ./config/depcomp \<br/>gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -ctest -f ‘addr_hash.c‘ || echo ‘./‘addr_hash.c<br/>source=‘edline.c‘ object=‘edline.o‘ libtool=no \<br/>depfile=‘.deps/edline.Po‘ tmpdepfile=‘.deps/edline.TPo‘ \<br/>depmode=gcc3 /bin/sh ./config/depcomp \<br/>gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -ctest -f ‘edline.c‘ || echo ‘./‘edline.c<br/>source=‘hash.c‘ object=‘hash.o‘ libtool=no \<br/>depfile=‘.deps/hash.Po‘ tmpdepfile=‘.deps/hash.TPo‘ \<br/>depmode=gcc3 /bin/sh ./config/depcomp \<br/>gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -ctest -f ‘hash.c‘ || echo ‘./‘hash.c<br/>source=‘iftop.c‘ object=‘iftop.o‘ libtool=no \<br/>depfile=‘.deps/iftop.Po‘ tmpdepfile=‘.deps/iftop.TPo‘ \<br/>depmode=gcc3 /bin/sh ./config/depcomp \<br/>gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -ctest -f ‘iftop.c‘ || echo ‘./‘iftop.c<br/>source=‘ns_hash.c‘ object=‘ns_hash.o‘ libtool=no \<br/>depfile=‘.deps/ns_hash.Po‘ tmpdepfile=‘.deps/ns_hash.TPo‘ \<br/>depmode=gcc3 /bin/sh ./config/depcomp \<br/>gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -ctest -f ‘ns_hash.c‘ || echo ‘./‘ns_hash.c<br/>source=‘options.c‘ object=‘options.o‘ libtool=no \<br/>depfile=‘.deps/options.Po‘ tmpdepfile=‘.deps/options.TPo‘ \<br/>depmode=gcc3 /bin/sh ./config/depcomp \<br/>gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -ctest -f ‘options.c‘ || echo ‘./‘options.c<br/>source=‘resolver.c‘ object=‘resolver.o‘ libtool=no \<br/>depfile=‘.deps/resolver.Po‘ tmpdepfile=‘.deps/resolver.TPo‘ \<br/>depmode=gcc3 /bin/sh ./config/depcomp \<br/>gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -ctest -f ‘resolver.c‘ || echo ‘./‘resolver.c<br/>source=‘screenfilter.c‘ object=‘screenfilter.o‘ libtool=no \<br/>depfile=‘.deps/screenfilter.Po‘ tmpdepfile=‘.deps/screenfilter.TPo‘ \<br/>depmode=gcc3 /bin/sh ./config/depcomp \<br/>gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -ctest -f ‘screenfilter.c‘ || echo ‘./‘screenfilter.c<br/>source=‘serv_hash.c‘ object=‘serv_hash.o‘ libtool=no \<br/>depfile=‘.deps/serv_hash.Po‘ tmpdepfile=‘.deps/serv_hash.TPo‘ \<br/>depmode=gcc3 /bin/sh ./config/depcomp \<br/>gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -ctest -f ‘serv_hash.c‘ || echo ‘./‘serv_hash.c<br/>source=‘sorted_list.c‘ object=‘sorted_list.o‘ libtool=no \<br/>depfile=‘.deps/sorted_list.Po‘ tmpdepfile=‘.deps/sorted_list.TPo‘ \<br/>depmode=gcc3 /bin/sh ./config/depcomp \<br/>gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -ctest -f ‘sorted_list.c‘ || echo ‘./‘sorted_list.c<br/>source=‘threadprof.c‘ object=‘threadprof.o‘ libtool=no \<br/>depfile=‘.deps/threadprof.Po‘ tmpdepfile=‘.deps/threadprof.TPo‘ \<br/>depmode=gcc3 /bin/sh ./config/depcomp \<br/>gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -ctest -f ‘threadprof.c‘ || echo ‘./‘threadprof.c<br/>source=‘ui.c‘ object=‘ui.o‘ libtool=no \<br/>depfile=‘.deps/ui.Po‘ tmpdepfile=‘.deps/ui.TPo‘ \<br/>depmode=gcc3 /bin/sh ./config/depcomp \<br/>gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -ctest -f ‘ui.c‘ || echo ‘./‘ui.c<br/>source=‘util.c‘ object=‘util.o‘ libtool=no \<br/>depfile=‘.deps/util.Po‘ tmpdepfile=‘.deps/util.TPo‘ \<br/>depmode=gcc3 /bin/sh ./config/depcomp \<br/>gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -ctest -f ‘util.c‘ || echo ‘./‘util.c<br/>source=‘addrs_ioctl.c‘ object=‘addrs_ioctl.o‘ libtool=no \<br/>depfile=‘.deps/addrs_ioctl.Po‘ tmpdepfile=‘.deps/addrs_ioctl.TPo‘ \<br/>depmode=gcc3 /bin/sh ./config/depcomp \<br/>gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -ctest -f ‘addrs_ioctl.c‘ || echo ‘./‘addrs_ioctl.c<br/>source=‘addrs_dlpi.c‘ object=‘addrs_dlpi.o‘ libtool=no \<br/>depfile=‘.deps/addrs_dlpi.Po‘ tmpdepfile=‘.deps/addrs_dlpi.TPo‘ \<br/>depmode=gcc3 /bin/sh ./config/depcomp \<br/>gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -ctest -f ‘addrs_dlpi.c‘ || echo ‘./‘addrs_dlpi.c<br/>source=‘dlcommon.c‘ object=‘dlcommon.o‘ libtool=no \<br/>depfile=‘.deps/dlcommon.Po‘ tmpdepfile=‘.deps/dlcommon.TPo‘ \<br/>depmode=gcc3 /bin/sh ./config/depcomp \<br/>gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -ctest -f ‘dlcommon.c‘ || echo ‘./‘dlcommon.c<br/>source=‘stringmap.c‘ object=‘stringmap.o‘ libtool=no \<br/>depfile=‘.deps/stringmap.Po‘ tmpdepfile=‘.deps/stringmap.TPo‘ \<br/>depmode=gcc3 /bin/sh ./config/depcomp \<br/>gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -ctest -f ‘stringmap.c‘ || echo ‘./‘stringmap.c<br/>source=‘cfgfile.c‘ object=‘cfgfile.o‘ libtool=no \<br/>depfile=‘.deps/cfgfile.Po‘ tmpdepfile=‘.deps/cfgfile.TPo‘ \<br/>depmode=gcc3 /bin/sh ./config/depcomp \<br/>gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -ctest -f ‘cfgfile.c‘ || echo ‘./‘cfgfile.c<br/>source=‘vector.c‘ object=‘vector.o‘ libtool=no \<br/>depfile=‘.deps/vector.Po‘ tmpdepfile=‘.deps/vector.TPo‘ \<br/>depmode=gcc3 /bin/sh ./config/depcomp \<br/>gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -ctest -f ‘vector.c‘ || echo ‘./‘vector.c<br/>gcc -g -O2 -o iftop addr_hash.o edline.o hash.o iftop.o ns_hash.o options.o resolver.o screenfilter.o serv_hash.o sorted_list.o threadprof.o ui.o util.o addrs_ioctl.o addrs_dlpi.o dlcommon.o stringmap.o cfgfile.o vector.o -lpcap -lm -lcurses -lpthread<br/>make[2]: Leaving directory/root/software/iftop-0.17‘
6 e% Q1 Q+ h7 G: K! y+ Hmake[1]: Leaving directory /root/software/iftop-0.17‘<br/>[root@mantisbt01 iftop-0.17]# make install<br/>Making install in config<br/>make[1]: Entering directory/root/software/iftop-0.17/config‘
/ Z# Q ^( j/ B* F+ m: Amake[2]: Entering directory /root/software/iftop-0.17/config‘<br/>make[2]: Nothing to be done forinstall-exec-am‘.5 r, A/ w3 _: u" j
make[2]: Nothing to be done for install-data-am‘.<br/>make[2]: Leaving directory/root/software/iftop-0.17/config‘
1 r2 z" c2 u( fmake[1]: Leaving directory /root/software/iftop-0.17/config‘<br/>make[1]: Entering directory/root/software/iftop-0.17‘
6 H! s1 P: v4 Jmake[2]: Entering directory /root/software/iftop-0.17‘<br/>/bin/sh ./config/mkinstalldirs /opt/iftop/sbin<br/>mkdir -p -- /opt/iftop/sbin<br/>/usr/bin/install -c iftop /opt/iftop/sbin/iftop<br/>/bin/sh ./config/mkinstalldirs /opt/iftop/man/man8<br/>mkdir -p -- /opt/iftop/man/man8<br/>/usr/bin/install -c -m 644 ./iftop.8 /opt/iftop/man/man8/iftop.8<br/>make[2]: Leaving directory/root/software/iftop-0.17‘/ ?4 W3 N% T2 M/ y% d% Z. s
make[1]: Leaving directory `/root/software/iftop-0.17‘
. o$ @& b1 q9 k& x- w# m[root@mantisbt01 iftop-0.17]#- J. m2 O" R* x5 x7 p* y
; C$ p5 s1 i& J[root@mantisbt01 iftop-0.17]# which iftop
4 n; t9 n' A+ U, I0 v3 N( S+ U1 l/usr/bin/which: no iftop in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/usr/local/python3/bin:/root/bin)
. k- K4 h' |( {
6 z# w, V4 N/ W% O) k[root@mantisbt01 iftop-0.17]# ln -s /opt/iftop/sbin/iftop /usr/bin/iftop* S% E) W% o, N7 P' E
[root@mantisbt01 iftop-0.17]# which iftop4 R$ P3 V7 S- P/ d% V
/usr/bin/iftop
7 w" M+ P% E% k[root@mantisbt01 iftop-0.17]#
9 u: ]4 \; l' R, U, _0 [[root@mantisbt01 iftop-0.17]#
. ]0 @* v/ u6 J9 ^6 |[root@mantisbt01 iftop-0.17]# iftop
/ W, k7 \5 U4 V8 [ y0 rinterface: ens33
3 [& D0 `* G$ [6 D: |; x. wIP address is: 192.168.2.180( v. b# p* y" a# O. ~5 m
MAC address is: 00:0c:29:cc:cf:6f" x0 c j4 H6 R; _
[root@mantisbt01 iftop-0.17]#
4 I' y+ Q5 I1 O* ?: w7 R3 R4 g L. h$ u: x$ V/ k! {
centos7 安装ifto |
|