Add forkbomb 1.0, system stress testing tool.
PR: ports/61717 Submitted by: Radim Kolar Approved by: nork (mentor/implicitly)
This commit is contained in:
parent
4be8889692
commit
22aca06067
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=98814
6 changed files with 45 additions and 0 deletions
|
@ -7,6 +7,7 @@
|
|||
SUBDIR += bytebench
|
||||
SUBDIR += dbench
|
||||
SUBDIR += dbs
|
||||
SUBDIR += forkbomb
|
||||
SUBDIR += iozone
|
||||
SUBDIR += iozone21
|
||||
SUBDIR += lmbench
|
||||
|
|
20
benchmarks/forkbomb/Makefile
Normal file
20
benchmarks/forkbomb/Makefile
Normal file
|
@ -0,0 +1,20 @@
|
|||
# New ports collection makefile for: forkbomb
|
||||
# Date created: 21 Jan 2004
|
||||
# Whom: Radim Kolar
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= forkbomb
|
||||
PORTVERSION= 1.0
|
||||
CATEGORIES= benchmarks
|
||||
MASTER_SITES= ${MASTER_SITE_SUNSITE}
|
||||
MASTER_SITE_SUBDIR= system/benchmark
|
||||
|
||||
MAINTAINER= hsn@netmag.cz
|
||||
COMMENT= System stress testing tool
|
||||
|
||||
USE_GETOPT_LONG=yes
|
||||
MAN8= forkbomb.8
|
||||
|
||||
.include <bsd.port.mk>
|
1
benchmarks/forkbomb/distinfo
Normal file
1
benchmarks/forkbomb/distinfo
Normal file
|
@ -0,0 +1 @@
|
|||
MD5 (forkbomb-1.0.tar.gz) = 9419b7740fab3e36e2b275c931363b41
|
13
benchmarks/forkbomb/files/patch-forkbomb.8
Normal file
13
benchmarks/forkbomb/files/patch-forkbomb.8
Normal file
|
@ -0,0 +1,13 @@
|
|||
--- forkbomb.8.orig Thu Jan 22 18:50:56 2004
|
||||
+++ forkbomb.8 Thu Jan 22 18:51:54 2004
|
||||
@@ -86,8 +86,10 @@
|
||||
.TP
|
||||
.B Linux 2.4
|
||||
dead.
|
||||
+.TP
|
||||
.B Linux 2.6
|
||||
ls command takes between 100 to 200 seconds. System load was 840.
|
||||
+.TP
|
||||
.B FreeBSD 5.2
|
||||
ls command takes 70 seconds to execute. System load was 800.
|
||||
.SH "TODO"
|
9
benchmarks/forkbomb/pkg-descr
Normal file
9
benchmarks/forkbomb/pkg-descr
Normal file
|
@ -0,0 +1,9 @@
|
|||
forkbomb is tool for stress testing. It can create many processes using fork(),
|
||||
eats all available memory using realloc() and accesses this memory. It has
|
||||
different switches for fine-tuning operation. While classic fork() bomb is good
|
||||
only for fun, running multiple memory-eaters can be useful for determining
|
||||
maximum memory which can be given to servers (bind or squid) without taking
|
||||
machine down. You can test different operation systems with this tool and see
|
||||
how they are handling the load.
|
||||
|
||||
WWW: http://home.worldonline.cz/~cz210552/forkbomb.html
|
1
benchmarks/forkbomb/pkg-plist
Normal file
1
benchmarks/forkbomb/pkg-plist
Normal file
|
@ -0,0 +1 @@
|
|||
sbin/forkbomb
|
Loading…
Reference in a new issue