Documentation/devtools/maemo5/sp-stress

Description
sp-stress contains utilities that can create artificial system load. This can be useful when you want to verify that your application works also when the system is being otherwise stressed.

The utilities are:


 * cpuload for generating CPU load


 * ioload for generating I/O load


 * memload for generating memory load

Packages
source: sp-stress

binary: sp-stress

Usage Examples
To create a 30% CPU load on the system:


 * 1) cpuload 30

The I/O load is generated by performing read and write operations on a file that has been created just for this purpose. The file has to be on one of the MMC's since the device's internal flash memory is unsuitable for these operations (see the man page for more info).

Note! The contents of the file will be destroyed, so do not do this on a file that you care about.


 * 1) ioload workfile

To consume 20 megabytes of memory:


 * 1) memload 20

Links
[cpuload man page](/development/documentation/man_pages/cpuload.html)

[ioload man page](/development/documentation/man_pages/ioload.html)

[memload man page](/development/documentation/man_pages/memload.html)