Documentation/devtools/maemo5/sp-smaps-measure: Difference between revisions
From Maemo Wiki
Jump to navigationJump to search
imported>amigadave |
imported>amigadave devtools template |
||
| Line 1: | Line 1: | ||
{{Devtools}} | |||
== Description == | == Description == | ||
| Line 31: | Line 34: | ||
[[Documentation/devtools/maemo5/sp-smaps-visualize|sp-smaps-visualize]] | [[Documentation/devtools/maemo5/sp-smaps-visualize|sp-smaps-visualize]] | ||
[[Category:Fremantle]] | [[Category:Fremantle]] | ||
Latest revision as of 15:20, 11 March 2010
| This article documents a developer tool. A list of available devtools is available, together with installation instructions. |
Description
sp-smaps-measure installs an utility that can be invoked to take a snapshot of /proc/*PID*/smaps files. The smaps files contain very detailed information about processes' memory consumption.
Packages
source: sp-smaps
binary: sp-smaps-measure
Usage Examples
Writes output similar to `head -2000 /proc/[1-9]*/smaps` to logfile after_boot.cap.
# sp_smaps_snapshot > after_boot.cap
It is possible to request realtime priority with the --realtime option. This requires that the utility is run as superuser.
Links
[sp_smaps_snapshot man page](/development/documentation/man_pages/sp_smaps_snapshot.html)