Documentation/devtools/maemo5/sp-stress
This article documents a developer tool. A list of available devtools is available, together with installation instructions. |
Contents |
[edit] 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
[edit] Packages
source: sp-stress
binary: sp-stress
[edit] Usage Examples
To create a 30% CPU load on the system:
# 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.
# ioload workfile
To consume 20 megabytes of memory:
# memload 20
[edit] 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)
[edit] See Also
-
- This page was last modified on 11 March 2010, at 15:21.
- This page has been accessed 6,408 times.