- 积分
- 16843
在线时间 小时
最后登录1970-1-1
|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?开始注册
x
[root@mantisbt01 software]# wget http://www.ex-parrot.com/pdw/iftop/download/iftop-0.17.tar.gz( s, H9 j6 }7 Y$ e/ }: ]
--2018-04-04 15:17:12-- http://www.ex-parrot.com/pdw/iftop/download/iftop-0.17.tar.gz, B5 G- w! @9 M; s& ]
Resolving www.ex-parrot.com (www.ex-parrot.com)... 93.93.130.166, 2a00:1098:0:82:1000:0:1:2
, @, ?; Q; ^. u# lConnecting to www.ex-parrot.com (www.ex-parrot.com)|93.93.130.166|:80... connected.
- X% i0 i, i% W+ ?1 ]. u9 @/ jHTTP request sent, awaiting response... 200 OK: g+ {4 U* K4 o- p$ k/ a
Length: 160381 (157K) [application/gzip]; r9 f( ~6 t+ |
Saving to: ‘iftop-0.17.tar.gz’
* v; b6 v* ^, K; f. p
/ H, [, [- X' c; V% j! [- Q100%[==============================================>] 160,381 101KB/s in 1.5s
9 j! V& Q2 h& D+ {1 r7 f
/ m0 U, q5 @* I2018-04-04 15:17:15 (101 KB/s) - ‘iftop-0.17.tar.gz’ saved [160381/160381]
/ i! B9 X6 [) e7 \
9 I# |& {/ b7 O( E% F[root@mantisbt01 software]# tar -xf iftop-0.17.tar.gz' I( k# s- _$ ~/ x( r5 |/ F2 u
[root@mantisbt01 software]# chown -R root.root iftop-0.174 f( _" J% V5 @/ {) T
[root@mantisbt01 software]# cd iftop-0.17# w* {4 E2 f1 a+ U
[root@mantisbt01 iftop-0.17]# ./configure --help1 c! R" ?: Z0 i
`configure‘ configures this package to adapt to many kinds of systems.* q. g( R3 \! u: L& R& S
- z# r b- e( U j; JUsage: ./configure [OPTION]... [VAR=VALUE]..., O5 c; K# ~+ ?$ ~! c1 G
E; A, d/ G! W% ?To assign environment variables (e.g., CC, CFLAGS...), specify them as% C( ^/ E5 E7 o
VAR=VALUE. See below for descriptions of some of the useful variables.
3 E0 K# j3 N) }2 X! F( g
6 a) F3 t+ i! l; L5 S: y' CDefaults for the options are specified in brackets.
' i% P$ d( i* U. {! _
% m; c0 t0 H; b; R) Z1 TConfiguration:9 U( d8 ]" `/ O/ C" S4 q f, }$ B
-h, --help display this help and exit
K% u$ ~( ]: A7 a: s6 Z8 r f" u--help=short display options specific to this package
* b- L* s; K1 k) q+ H* _* ]--help=recursive display the short help of all the included packages8 r- w0 ]) {8 o$ n
-V, --version display version information and exit) Z* ?+ _% m/ ~5 P) K" P
-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‘
* `0 P' u+ b* z, D. `: D-n, --no-create do not create output files& n) S7 f$ Z0 p( p. H
--srcdir=DIR find the sources in DIR [configure dir or `..‘]
2 {$ N2 G1 N% S5 U y# f* K( m. U5 y
9 }3 `* {+ S+ J: V6 y+ ~- S: Z& R+ w( M+ kInstallation directories:
0 A$ l" D8 Y3 ~$ J% ?--prefix=PREFIX install architecture-independent files in PREFIX
& V' `5 L& P* r, K[/usr/local]% g& o" V& {. ~
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX7 i0 N. Q: e3 L: f* c; r1 V
[PREFIX]
$ q# F- B& B" l9 k
% A! r* [ m$ o: V5 N0 }, IBy 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‘.
2 s/ d5 d1 s; Z6 j! m7 a; C( i0 L- ]" ?+ k
For better control, use the options below.9 B6 ^% H2 g0 R( j
R7 B: t- {% Y# ]! rFine tuning of the installation directories:0 [" I' i t# X% D
--bindir=DIR user executables [EPREFIX/bin]
- X9 n( U2 Q# N--sbindir=DIR system admin executables [EPREFIX/sbin]- u0 l6 p+ q6 d; w$ U& D6 r! X* Y" J
--libexecdir=DIR program executables [EPREFIX/libexec]
- w+ p$ |+ V) d4 g' N J--datadir=DIR read-only architecture-independent data [PREFIX/share]
2 ]3 k- E. r. d9 d--sysconfdir=DIR read-only single-machine data [PREFIX/etc]; w- z- n! F/ o" {. k! n
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]1 r2 Y& n* d$ ^9 i
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
& ~$ g0 S5 m0 N9 v+ n--libdir=DIR object code libraries [EPREFIX/lib]
# k; R& T1 R9 j) u# i+ L+ f--includedir=DIR C header files [PREFIX/include]
: S$ `2 f% h E! \--oldincludedir=DIR C header files for non-gcc [/usr/include]: I- g o" ]! u; v! L
--infodir=DIR info documentation [PREFIX/info]: a9 f% c. |) u" I2 e/ f+ y
--mandir=DIR man documentation [PREFIX/man]
! z! W5 U+ i( d; L# N# I: R! Y. G0 t1 L9 @6 N
Program names:& S7 E4 c$ Y" @6 C' n
--program-prefix=PREFIX prepend PREFIX to installed program names
: x& A" l* u9 y# D+ T( k5 X) a--program-suffix=SUFFIX append SUFFIX to installed program names/ Q' U* H: H& b
--program-transform-name=PROGRAM run sed PROGRAM on installed program names* C6 G- j. e E
* w7 r8 z. t$ g
System types:
/ I2 M O3 z% L. j% k/ X. p; U! n1 B--build=BUILD configure for building on BUILD [guessed]
: R' |9 U7 o) I3 E--host=HOST cross-compile to build programs to run on HOST [BUILD]
8 X. @% A6 T8 C7 t/ G9 t--target=TARGET configure for building compilers for TARGET [HOST]
' E, b* u2 w- s$ k2 E
& R8 I t# z' N6 e* K: A( n7 `Optional Features:5 X8 t0 r2 c6 Q! J. C, v& u
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
' g; w" X+ g* ~ r% ]- E5 t, u: t--enable-FEATURE[=ARG] include FEATURE [ARG=yes]+ {) \, `4 C6 M( c* Q1 W
--disable-dependency-tracking Speeds up one-time builds
1 @% g3 t. a( i+ W& E G--enable-dependency-tracking Do not reject slow dependency extractors8 _/ z( z4 F) v/ F
--enable-default-promiscuous If enabled, iftop will operate in promiscuous mode
2 f1 ^1 [$ {) P- b7 P6 w7 Hto capture outgoing packets
1 ], c5 y: e8 e# V$ D8 F
7 r9 j5 _% I$ F) v8 tOptional Packages:
$ P4 o( V, [& ?3 `# ]--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
. E: W) T1 U' d# g--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
. c2 M5 Y3 Q+ Q% r7 R--with-resolver=TYPE Technique iftop should use for name resolution.
1 |3 ^* Z! f/ l T aValid options are:
) B% ]: U! N2 [netdb use gethostbyaddr_r in multiple
! F+ x- }/ ~/ {& e9 T' }threads.
( u! n8 J' M/ k6 V- }; C# {& q+ ~netdb_1thread use gethostbyaddr_r and4 n2 f& ^3 ~& i8 ~1 [
assume it is not reentrant./ B$ H' F$ E0 g' ~
ares use the MIT ARES asynchronous
# q2 L8 a3 U7 {# m0 T' Hresolver library.% l2 n) v- \% }- R+ G0 M
forking use the REALLY SUCKY forking resolver.# S Z& r! A! E% K$ k& |0 t! C0 b
guess run experiments to guess a
' K- L: U# n: @reasonable value. Only works if you
3 s9 S- O4 V0 u( F/ h, q" ?6 xaren‘t cross-compiling. This
0 p: I' o( |. F4 dis the default. guess will
0 }5 A& A4 S0 ~either select netdb or netdb_1thread.
& l/ z: S$ ]# n1 K2 c }9 Enone don‘t do name resolution.% ^. e2 _: N3 l' a, A2 X
--with-libpcap=WHERE Where the libpcap packet-capture library is found.
+ g7 Y, b, u- G1 V: {The pcap library should be installed in WHERE/lib,
- k/ N0 ]9 d/ _6 c+ h9 k- aand the header file in either WHERE/include or9 R, Y" |0 J' [1 V! W
WHERE/include/pcap.
0 r2 @2 t7 x! C! S9 L8 edefault=look in standard locations' j$ s8 [+ ?( m+ @
& @+ k% D+ M% O4 o
Some influential environment variables:; N# `% G0 b3 ~% s Y1 |
CC C compiler command
0 a" |5 T9 A& Q. T/ f2 QCFLAGS C compiler flags/ J/ ~5 t4 N$ a2 I& N% [
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1 ^4 U6 J: H$ ^4 I- dnonstandard directory <lib dir> w! {, f: c5 Y+ p, S
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have# \# V* G0 i) i; X
headers in a nonstandard directory <include dir>
2 v2 U7 H @; s1 o+ R) oCPP C preprocessor
1 S' e3 J9 m8 p3 e3 U* d! v+ c1 R4 O6 t5 l! j3 Q
Use these variables to override the choices made by `configure‘ or to help
~# n, u, ]) M' kit to find libraries and programs with nonstandard names/locations.% h; i; L- |' K! H# I: P& j& }
/ p% A B; ?* J: Z[root@mantisbt01 iftop-0.17]# ./configure --prefix=/opt/iftop --bindir=/usr/bin/^C
& q6 w9 l8 n" d: w+ I[root@mantisbt01 iftop-0.17]# ls -ltr /usr/bin/ | head- F6 Q9 h' L0 \" t
total 547436
; b: Z* m% H! r-rwxr-xr-x 1 root root 86504 Jun 10 2014 yacc: h- p3 H7 _2 N; P8 D: z5 A
-rwxr-xr-x. 1 root root 11004 Jun 10 2014 pod2text
7 G5 T0 d2 D* z% ?% h3 Q: J-rwxr-xr-x. 1 root root 13581 Jun 10 2014 pod2man8 \5 H% b K: @
-rwxr-xr-x. 1 root root 271 Jun 10 2014 neqn" ]6 B3 t4 B) s7 d5 ^: _
-rwxr-xr-x. 1 root root 3392 Jun 10 2014 nroff
. ?" w' a1 q, r: D7 I-rwxr-xr-x. 1 root root 525272 Jun 10 2014 troff
" C0 `- l# G3 Q* t5 k2 @; G-rwxr-xr-x. 1 root root 118744 Jun 10 2014 tbl8 O" Y3 g% W; g5 e; Q" U3 M8 G
-rwxr-xr-x. 1 root root 33368 Jun 10 2014 soelim
% V9 Z: W* n* W/ T+ D {) M7 f-rwxr-xr-x. 1 root root 88312 Jun 10 2014 pre-grohtml
8 K$ j0 S4 Q/ B# a8 C0 m[root@mantisbt01 iftop-0.17]# ./configure --prefix=/opt/iftop --bindir=/usr/bin/2 P- F5 `) q: C) ~6 P) g! ?
checking build system type... x86_64-unknown-linux-gnu
/ R" T; ?' J, h0 _5 Uchecking host system type... x86_64-unknown-linux-gnu
) F$ g4 ?8 F9 F- g @+ L( zchecking target system type... x86_64-unknown-linux-gnu g% D! D1 P! S* R. ^- ^
checking for a BSD-compatible install... /usr/bin/install -c4 r+ z1 c$ W1 Q0 ?
checking whether build environment is sane... yes0 `; {/ e( f$ {/ W9 B# x9 u% z
checking for gawk... gawk
! `2 g+ H& U, V' p/ I) m% Cchecking whether make sets ${MAKE}... yes
; p# ?& L1 V7 f2 _- Schecking for gcc... gcc
g8 Z6 t5 l& V- w- B# n% r( g4 b( c. @checking for C compiler default output... a.out1 d6 x: m8 I) e7 {, P
checking whether the C compiler works... yes
, U! Y" v4 U+ _, [$ I7 uchecking whether we are cross compiling... no: R5 D0 r+ @& [. }$ k+ R
checking for suffix of executables...: g/ b& i4 O4 Z, Y' O
checking for suffix of object files... o# A* z9 k g" Y0 k
checking whether we are using the GNU C compiler... yes
2 C$ y0 Z: `8 C0 g. f! xchecking whether gcc accepts -g... yes
- n8 C3 M# G- v- E, m; jchecking for gcc option to accept ANSI C... none needed
) Z& Q8 V% y( ?( Schecking for style of include used by make... GNU2 r; I2 k4 c h8 U' l
checking dependency style of gcc... gcc3: X0 L% s8 C% H- z* R2 ]! e, T3 J g
checking how to run the C preprocessor... gcc -E' Q- J" Y8 |' g4 t
checking for egrep... grep -E
$ y- v0 m: A: B; T+ U( L7 `checking for ANSI C header files... yes
' t. r' b# l% B) y: _checking for sys/types.h... yes4 G% |9 G3 B; A
checking for sys/stat.h... yes
7 r- d9 p, b- e9 O" r' Ychecking for stdlib.h... yes( Q$ P5 Z+ { K L& L2 O
checking for string.h... yes
0 }7 ^4 v5 r9 }9 K/ K* Mchecking for memory.h... yes
1 z$ |" f: p# I5 k- Pchecking for strings.h... yes
9 z, H$ Q9 X0 v; r* Pchecking for inttypes.h... yes
4 E3 ]$ J& n+ o. R0 ichecking for stdint.h... yes4 C4 H& u- t, P! v4 H
checking for unistd.h... yes$ [5 B# J* ~) x1 p- ]7 N- y
checking sys/ioctl.h usability... yes* ?0 s! S- K1 n* L5 q- r5 t
checking sys/ioctl.h presence... yes
" v( E2 O ], }% |2 Fchecking for sys/ioctl.h... yes, D: z& r2 y9 z: t" J7 S6 [
checking sys/time.h usability... yes
8 D+ k5 R$ @& R4 ?4 `$ Schecking sys/time.h presence... yes
, a( u" |( z) Achecking for sys/time.h... yes' _6 R/ x* Y: j1 ]) |. v
checking sys/sockio.h usability... no! Z, R* ^) X5 i, }" }: ^; N7 g
checking sys/sockio.h presence... no: q, {6 q) [. ^0 u1 M' h9 ~/ [
checking for sys/sockio.h... no4 D$ @- R) Y! Z1 h* a1 D6 o( M
checking for unistd.h... (cached) yes2 ?: U8 u- s7 s0 B, D, u9 D1 m1 I6 a
checking for an ANSI C-conforming const... yes c0 K6 K6 ?6 V7 M1 c
checking for size_t... yes# t& ~/ e l: x7 U6 _! e3 ^
checking whether time.h and sys/time.h may both be included... yes+ C0 D) D" \: b7 d a1 @( g: V! l
checking sys/dlpi.h usability... no
3 G6 S! z }9 Z4 c/ V+ Kchecking sys/dlpi.h presence... no) K( M8 x* \; ^. n2 O
checking for sys/dlpi.h... no
5 A* `" `' j$ kchecking for regcomp... yes; R0 Y- J( B& ?" h0 p* T
checking for select... yes
9 @; R8 B3 v0 R, P6 Y7 p8 X, echecking for strdup... yes
' u4 X* a& ~6 z9 g1 z G/ n, xchecking for strerror... yes
2 B1 ?) r6 Z! q; V/ x+ h( A" gchecking for strspn... yes
6 |; Z M8 t" Y# xchecking for library containing socket... none required
' R* W" k% u. S4 t1 S) Vchecking for library containing log... -lm
4 ?& B8 L _: r& F* z8 Dchecking for gethostbyname... yes
$ U4 |" ` Y# c0 ~checking for library containing inet_aton... none required$ X5 o5 x7 E% G5 x' ~
checking for library containing inet_pton... none required+ b( o2 K( j, K% s
checking for inet_aton... yes, @, J3 `+ P/ j- P1 m
checking for inet_pton... yes
8 X0 q6 i) E, jchecking size of u_int8_t... 1
( a8 F* N% ?' N- R2 V1 ?checking size of u_int16_t... 2
) ?9 ?/ Y; L# F) B, h# ~checking size of u_int32_t... 4
" u! T9 X+ A P+ R- v/ C( U1 ichecking for library containing getnameinfo... none required r7 Z, B/ Q A9 i$ N
checking for library containing gethostbyaddr_r... none required
# c/ X+ `, w: l$ z: G: I" Jchecking how to call gethostbyaddr_r... 8 args, int return
; L2 y1 w( K) U# ]4 tchecking gethostbyaddr_r usability... yes, P) H% w2 Q P) C6 n
checking where to find pcap.h... /include
4 Q% ~ O% d. f; ~ G* @! s Z3 dchecking for pcap_open_live in -lpcap... yes0 _, V# E2 }! I& Q
checking pcap.h usability... yes
2 f; X! R0 W$ c: u' W' Achecking pcap.h presence... yes) f- ?3 r! O9 E) C3 V
checking for pcap.h... yes
: y1 B* y' Z8 D6 Qchecking for a curses library containing mvchgat... -lcurses
! i# e& P4 Q0 k( b6 Q# p3 Xchecking POSIX threads compilation... CFLAGS= and LIBS=-lpthread# X r" F9 T6 O I5 ~. B7 Y1 m% u( }) t
checking POSIX threads usability... yes. U8 {3 l- ~9 x6 X+ O
checking if we need to enable promiscuous mode by default... no
& b7 a1 b4 w9 M# Iconfigure: creating ./config.status/ @2 A+ K0 |" ~' b4 w4 L6 r
config.status: creating Makefile2 }+ N! Z$ i4 ?
config.status: creating config/Makefile5 ^" ~! ^6 `) V: x4 `
config.status: creating config.h7 |5 B+ v( W9 l, y2 T
config.status: executing depfiles commands
4 P% N! N+ O8 G: [8 S0 ~[root@mantisbt01 iftop-0.17]#
/ Q* \6 ]- u1 Z, d7 o: R4 c
/ }2 K4 K/ w+ A2 o[root@mantisbt01 iftop-0.17]# echo $? T8 e( B, d! u' h' Z
0
- n4 ~* F# N0 o' |8 D2 ~[root@mantisbt01 iftop-0.17]# make
, Q$ T5 q. W0 i) h. J# V3 nmake all-recursive3 }: w9 e# |; J' T( t& M. B7 @
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‘
7 {5 f Z: D' C1 s* Lmake[2]: Nothing to be done for all‘.<br/>make[2]: Leaving directory/root/software/iftop-0.17/config‘6 ^6 a7 Z2 |# Q- _9 b
make[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‘; |, m$ n4 X, D2 P
make[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‘
& d6 `, t* v( c" }) xmake[2]: Entering directory /root/software/iftop-0.17/config‘<br/>make[2]: Nothing to be done forinstall-exec-am‘.
; j; C7 f% }# @& t6 N Y7 smake[2]: Nothing to be done for install-data-am‘.<br/>make[2]: Leaving directory/root/software/iftop-0.17/config‘: @, z5 k, E0 Q' k( X
make[1]: Leaving directory /root/software/iftop-0.17/config‘<br/>make[1]: Entering directory/root/software/iftop-0.17‘/ [7 T: o# n7 g8 D+ l9 j. `
make[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‘
0 X6 Y0 H- l- u M: ^" w3 m- R0 h5 ?make[1]: Leaving directory `/root/software/iftop-0.17‘+ I3 F3 _( Z% @+ Q
[root@mantisbt01 iftop-0.17]#' f3 W0 l4 P4 N4 }9 r5 y; A& r6 p
2 z& ^7 u& I3 {0 [. m! c[root@mantisbt01 iftop-0.17]# which iftop
" f& y3 p) C2 C1 q- ~" ]/usr/bin/which: no iftop in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/usr/local/python3/bin:/root/bin)& d( ^1 D" l6 ]3 v! p0 r/ Z
' _! j8 L% b0 E9 @, G& b, S3 t5 F[root@mantisbt01 iftop-0.17]# ln -s /opt/iftop/sbin/iftop /usr/bin/iftop
: `0 O7 N3 n$ J8 P[root@mantisbt01 iftop-0.17]# which iftop! L& J$ Q/ P2 k6 j1 ` {
/usr/bin/iftop' V& s8 q: ?4 @( m# b$ Y
[root@mantisbt01 iftop-0.17]#; s" ^2 A' }. `4 U) k$ ?
[root@mantisbt01 iftop-0.17]#
1 ]9 C' U8 y% r. D+ O+ F1 ^" N[root@mantisbt01 iftop-0.17]# iftop
8 {' Y" P8 A; ~/ u; J8 kinterface: ens33
+ J6 j% I, l% f1 @+ k+ S! NIP address is: 192.168.2.180
3 d0 w1 r O& Q% Q% ]6 L$ A& f& ?MAC address is: 00:0c:29:cc:cf:6f
% Z7 B3 y" e* H4 x; }6 B[root@mantisbt01 iftop-0.17]#
, W! n# e+ i4 B5 x8 f$ z- @
& u2 W0 D: U: I$ T- Bcentos7 安装ifto |
|