Documentation/devtools/maemo5/sp-smaps-measure: Difference between revisions

From Maemo Wiki
Jump to navigationJump to search
imported>kaltsi
New page: == Description == sp-smaps-measure installs an utility that can be invoked to take a snapshot of /procPID: smaps files. The smaps files contain very detailed information about processes...
 
imported>amigadave
devtools template
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{Devtools}}
== Description ==
== Description ==


Line 30: Line 33:


[[Documentation/devtools/maemo5/sp-smaps-visualize|sp-smaps-visualize]]
[[Documentation/devtools/maemo5/sp-smaps-visualize|sp-smaps-visualize]]
[[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.

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

See Also

sp-smaps-visualize