Its a simple workload generator for POSIX systems. It imposes a configurable amount of CPU, memory, I/O, and disk stress on the system.
Signed-off-by: Michael Grzeschik <[email protected]> --- rules/stress.in | 9 +++++++ rules/stress.make | 67 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 76 insertions(+), 0 deletions(-) create mode 100644 rules/stress.in create mode 100644 rules/stress.make diff --git a/rules/stress.in b/rules/stress.in new file mode 100644 index 0000000..24168aa --- /dev/null +++ b/rules/stress.in @@ -0,0 +1,9 @@ +## SECTION=test_suites + +config STRESS + tristate + prompt "stress " + help + stress is a simple workload generator for POSIX systems. + It imposes a configurable amount of CPU, memory, I/O, and disk stress on the system. + It is written in C, and is free software licensed under the GPLv2. diff --git a/rules/stress.make b/rules/stress.make new file mode 100644 index 0000000..a221303 --- /dev/null +++ b/rules/stress.make @@ -0,0 +1,67 @@ +# +# Copyright (C) 2010 by Michael Grzeschik <[email protected]> +# +# See CREDITS for details about who has contributed to this project. +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +# +# We provide this package +# +PACKAGES-$(PTXCONF_STRESS) += stress + +# +# Paths and names +# +STRESS_VERSION := 1.0.1 +STRESS := stress-$(STRESS_VERSION) +STRESS_SUFFIX := tar.gz +STRESS_URL := http://weather.ou.edu/~apw/projects/stress/$(STRESS).$(STRESS_SUFFIX) +STRESS_SOURCE := $(SRCDIR)/$(STRESS).$(STRESS_SUFFIX) +STRESS_DIR := $(BUILDDIR)/$(STRESS) +STRESS_LICENSE := GPLv2 + +# ---------------------------------------------------------------------------- +# Get +# ---------------------------------------------------------------------------- + +$(STRESS_SOURCE): + @$(call targetinfo) + @$(call get, STRESS) + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +# +# autoconf +# +STRESS_AUTOCONF := \ + $(CROSS_AUTOCONF_USR) + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/stress.targetinstall: + @$(call targetinfo) + + @$(call install_init, stress) + @$(call install_fixup, stress,PACKAGE,stress) + @$(call install_fixup, stress,PRIORITY,optional) + @$(call install_fixup, stress,VERSION,$(STRESS_VERSION)) + @$(call install_fixup, stress,SECTION,base) + @$(call install_fixup, stress,AUTHOR,"Michael Grzeschik <[email protected]>") + @$(call install_fixup, stress,DEPENDS,) + @$(call install_fixup, stress,DESCRIPTION,missing) + + @$(call install_copy, stress, 0, 0, 0755, -, \ + /usr/bin/stress) + + @$(call install_finish, stress) + + @$(call touch) + +# vim: syntax=make -- 1.7.0 -- ptxdist mailing list [email protected]
