FreeBSD 下的truss、strace和ltrace
truss是FreeBSD下默认的trace工具。
truss -o logfile command
truss -o logfile -p pid
truss -f command 同时跟踪子进程
strace
cd /usr/ports/devel/strace
make install
然后使用
还有一个l...
truss是FreeBSD下默认的trace工具。
truss -o logfile command
truss -o logfile -p pid
truss -f command 同时跟踪子进程
strace
cd /usr/ports/devel/strace
make install
然后使用
还有一个l...
modules/cache下面有很多的.c文件,大致用途如:
mod_cache.c 编译得到mod_cache.so 主要用来控制整个apache的cache功能。
mod_file_cache.c,mod_mem_cache.c,mod_disk_cache.c这个三个文件编译后得到各自的ca...
Apache DBD API
The Proposed Apache DBD Framework serves to enable database applications to work efficiently within Apache 2.1 and higher. It eases development and provides optimised cross-database, cross-MPM support for free.
Database-ind...
认证和授权涉及到三组模块。通常,你需要从每一组中选择至少一个模块。
认证类型模块(参见AuthType指令)
mod_auth_basic
mod_auth_digest
认证支持模块
mod_authn_alias
m...
iozone的确是一款不错的文件系统性能测试工具,可以就文件系统的很多方面作自动测试。地址:www.iozone.org
用法:
在希望进行测试的文件系统上运行:
iozone -a
即可进行全...
2 An Example of Using httperf
To convey a concrete feeling of how httperf is used, this section presents a brief example of how to measure the request throughput of a web server. The simplest way to achieve this is to send requests to the server...
http://www.eygle.com/archives/2004/10/use_bonnie_plus2_test_iospeed.html
http://www.eygle.com/unix/Use.Bonnie.To.Test.IO.speed.htm
取消php的keepalive的设置。
在apache的vhost中配置,或者你自己放到需要的地方
代码:
SetEnvIfNoCase Request_URI \ \.(?:php|php2)$ nokeepalive
Request_URI 的解释
引用:
Request_URI - th...
cd /usr/ports/audio/gnump3d
make install clean
修改/usr/local/etc/gnump3d/gnump3d.conf
然后运行gnump3d,就可以用http://youipadd:8888来访问了。
支持:Mp3,Ogg,wma
NetJuke
wget http://freshmeat.net/r...
microsoft的application center test (ACT)工具用起来就比较麻烦。不过那个是用来测试动态web程序的,着眼点不一样。作为开源软件,ms就没啥好比了。大家各取所需吧。
Siege(英文意思是围攻...