summary refs log tree commit diff
path: root/pkgs/tools/system/stress
diff options
context:
space:
mode:
authorDomen Kožar <domen@dev.si>2015-01-06 11:15:40 +0100
committerDomen Kožar <domen@dev.si>2015-01-06 11:15:48 +0100
commitfb508b6a589d6b14fe47c5900fe70c2c507d7df6 (patch)
tree5dbe1f1d89bb16fb705e8c1079fdc69aa2e9e1a2 /pkgs/tools/system/stress
parent19cd862a6df19df6105e61bbc193caac0cf7f333 (diff)
downloadnixpkgs-fb508b6a589d6b14fe47c5900fe70c2c507d7df6.tar
nixpkgs-fb508b6a589d6b14fe47c5900fe70c2c507d7df6.tar.gz
nixpkgs-fb508b6a589d6b14fe47c5900fe70c2c507d7df6.tar.bz2
nixpkgs-fb508b6a589d6b14fe47c5900fe70c2c507d7df6.tar.lz
nixpkgs-fb508b6a589d6b14fe47c5900fe70c2c507d7df6.tar.xz
nixpkgs-fb508b6a589d6b14fe47c5900fe70c2c507d7df6.tar.zst
nixpkgs-fb508b6a589d6b14fe47c5900fe70c2c507d7df6.zip
add stress: configurable amount of CPU, memory, I/O, and disk stress on the system
Diffstat (limited to 'pkgs/tools/system/stress')
-rw-r--r--pkgs/tools/system/stress/default.nix16
1 files changed, 16 insertions, 0 deletions
diff --git a/pkgs/tools/system/stress/default.nix b/pkgs/tools/system/stress/default.nix
new file mode 100644
index 00000000000..52cfd4dde74
--- /dev/null
+++ b/pkgs/tools/system/stress/default.nix
@@ -0,0 +1,16 @@
+{ stdenv, fetchurl }:
+
+stdenv.mkDerivation rec {
+  name = "stress-1.0.4";
+ 
+  src = fetchurl {
+    url = "http://people.seas.harvard.edu/~apw/stress/${name}.tar.gz";
+    sha256 = "0nw210jajk38m3y7h8s130ps2qsbz7j75wab07hi2r3hlz14yzh5";
+  };
+
+  meta = with stdenv.lib; {
+    description = "Simple workload generator for POSIX systems. It imposes a configurable amount of CPU, memory, I/O, and disk stress on the system";
+    license = licenses.gpl2;
+    platforms = platforms.linux;
+  };
+}