Ab
ApacheBench standalone - an Apache HTTP Server benchmark tool, known as "ab"
Install / Use
/learn @ShiFengAway/AbREADME
ApacheBench-standalone
ApacheBench standalone - an Apache HTTP Server benchmark tool, known as <b>ab</b> in apache/httpd
Requirement
There'll be a confliction when httpd-tools is already installed, because ab is part of httpd-tools.
- gcc / clang
- openssl-devel
- apr-util-devel (apr-devel included)
Installation
Make and install
make
make install
Build RPM file on Linux
rpmbuild -tb ab-<version>.tar.gz
Basic Usage
ab -c10 -n100 https://g.cn/
ab -h
Source
Upstream version is from latest tag of apache/httpd
- ap_release.h - httpd/include/ap_release.h
- ab.c - httpd/support/ab.c
- docs/man/ab.1 - httpd/docs/man/ab.1
About Version
ApacheBench seems to have its own version. However it doesn't changes very often. So we decide to tag this project with the version of httpd that sourced from.
ab -V # This is ApacheBench, Version 2.3 <$Revision$>
About Windows
The following lines are commented in ab.c, so Windows is not supported.
#if !defined(WIN32) && !defined(NETWARE)
#include "ap_config_auto.h"
#endif
About APR - Apache Portable Runtime
Since apache/httpd is developed based on apr / apr-util, ApacheBench should be built with apr-devel and apr-util-devel of official yum packages repository. You can also build with newer version of apr yourself. (More details in README file of apr).
# Building APR RPM files on Linux
rpmbuild -tb apr-<version>.tar.bz2 # latest version - 1.5.2
rpmbuild -tb apr-util-<version>.tar.bz2 # latest version - 1.5.4
Related Skills
node-connect
334.5kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
82.2kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
334.5kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
82.2kCommit, push, and open a PR
