Documentation/devtools/maemo5/sp-smaps-measure

From Maemo Wiki
Revision as of 15:20, 11 March 2010 by imported>amigadave (devtools template)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
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