Menginstall HTTPERF di Debian Lenny
Pertama download filenya di ftp://ftp.hpl.hp.com/pub/httperf/ silakan pilih versi yang akan anda gunakan.
wget ftp://ftp.hpl.hp.com/pub/httperf/httperf-0.9.0.tar.gz
tar -xvzf httperf-0.9.0.tar.gz
./configure
make
make install
Namun jik anda menemui error karena gcc compiler belum di install–berikut contohnya–
checking build system type… i686-pc-linux-gnuoldld
checking host system type… i686-pc-linux-gnuoldld
checking target system type… i686-pc-linux-gnuoldld
checking for a BSD-compatible install… /usr/bin/install -c
checking whether build environment is sane… yes
checking for gawk… no
checking for mawk… mawk
checking whether make sets $(MAKE)… no
checking for cc… no
checking for gcc… no
configure: error: no acceptable C compiler found in $PATH
See `config.log’ for more details.
berikut cara menginstall gcc di debian lenny:
apt-get install make gcc
Setelah selesai instalasi gcc, silakan ulangi lagi mulai ./configure dan seterusnya.
Untuk menggunakan httperf ini cukup mudah ( jika domain yang saya tes htpp://direktori.kreatif.web.id) ketik
httperf –server=direktori.kreatif.web.id
maka akan keluar hasil:
httperf –client=0/1 –server=direktori.kreatif.web.id –port=80 –uri=/ –send-buffer=4096 –recv-buffer=16384 –num-conns=1 –num-calls=1
Maximum connect burst length: 0Total: connections 1 requests 1 replies 1 test-duration 0.006 s
Connection rate: 167.8 conn/s (6.0 ms/conn, <=1 concurrent connections)
Connection time [ms]: min 6.0 avg 6.0 max 6.0 median 5.5 stddev 0.0
Connection time [ms]: connect 0.7
Connection length [replies/conn]: 1.000Request rate: 167.8 req/s (6.0 ms/req)
Request size [B]: 77.0Reply rate [replies/s]: min 0.0 avg 0.0 max 0.0 stddev 0.0 (0 samples)
Reply time [ms]: response 1.0 transfer 4.3
Reply size [B]: header 516.0 content 43781.0 footer 0.0 (total 44297.0)
Reply status: 1xx=0 2xx=1 3xx=0 4xx=0 5xx=0CPU time [s]: user 0.00 system 0.00 (user 0.0% system 67.1% total 67.1%)
Net I/O: 7273.1 KB/s (59.6*10^6 bps)Errors: total 0 client-timo 0 socket-timo 0 connrefused 0 connreset 0
Errors: fd-unavail 0 addrunavail 0 ftab-full 0 other 0
untuk membaca lebih lanjut mengenai penggunaan httperf silakan baca disini.
Incoming search terms for the article:
Popularity: 1% [?]
Tulisan Yang Mungkin Terkait (Auto Generate)
- Benchmark Server Menggunakan Httperf
- Menggunakan Sudo di Debian
- nO cOnnectiOn
- Wonder Girls Menikmati Indonesia di Singapura
- Facebook in Asia: Indonesia with 18.9 million users!
- Foto Promo dari Personal Taste
- SHINee Jonghyun ideal type is Lee Min Jung and Shin Se Kyung
- 22 Episode Japanese Drama fumo Chitai (不毛地帯 ) starting from October 15, 2009 – Episode 1 – 17
- 8 Editor Script Online
- Bleach – 259
