add stress: configurable amount of CPU, memory, I/O, and disk stress on the system
commitfb508b6a589d6b14fe47c5900fe70c2c507d7df6
authorDomen Kožar <domen@dev.si>
dateTue 6 Jan 2015, 11:15 (12 years ago)
parent19cd862
pkgs/tools/system/stress/default.nixnew file+16
@@ -0,0 +1,16 @@
1+{ stdenv, fetchurl }:
2+
3+stdenv.mkDerivation rec {
4+ name = "stress-1.0.4";
5+
6+ src = fetchurl {
7+ url = "http://people.seas.harvard.edu/~apw/stress/${name}.tar.gz";
8+ sha256 = "0nw210jajk38m3y7h8s130ps2qsbz7j75wab07hi2r3hlz14yzh5";
9+ };
10+
11+ meta = with stdenv.lib; {
12+ description = "Simple workload generator for POSIX systems. It imposes a configurable amount of CPU, memory, I/O, and disk stress on the system";
13+ license = licenses.gpl2;
14+ platforms = platforms.linux;
15+ };
16+}
pkgs/top-level/all-packages.nix+2
@@ -2500,6 +2500,8 @@ let
25002500 };
25012501
25022502 ssss = callPackage ../tools/security/ssss { };
2503+
2504+ stress = callPackage ../tools/system/stress { };
25032505
25042506 storeBackup = callPackage ../tools/backup/store-backup { };
25052507