Documentation/devtools/maemo5/sp-stress
(New page: == 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 b...) |
|||
Line 51: | Line 51: | ||
- | - | ||
+ | |||
+ | [[Category:Devtools]] | ||
+ | [[Category:Fremantle]] |
Revision as of 11:40, 12 February 2010
Contents |
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:
# 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
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)
See Also
-