add stress: configurable amount of CPU, memory, I/O, and disk stress on the system
This commit is contained in:
parent
19cd862a6d
commit
fb508b6a58
2 changed files with 18 additions and 0 deletions
16
pkgs/tools/system/stress/default.nix
Normal file
16
pkgs/tools/system/stress/default.nix
Normal file
|
@ -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;
|
||||||
|
};
|
||||||
|
}
|
|
@ -2500,6 +2500,8 @@ let
|
||||||
};
|
};
|
||||||
|
|
||||||
ssss = callPackage ../tools/security/ssss { };
|
ssss = callPackage ../tools/security/ssss { };
|
||||||
|
|
||||||
|
stress = callPackage ../tools/system/stress { };
|
||||||
|
|
||||||
storeBackup = callPackage ../tools/backup/store-backup { };
|
storeBackup = callPackage ../tools/backup/store-backup { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue