sp_smaps_diff
Manual Reference Pages - SP_SMAPS_DIFF (1)
NAME
sp_smaps_diff - sp_smaps_snapshot data diff tool
CONTENTS
Synopsis
Description
Options
Examples
Notes
Copyright
See Also
SYNOPSIS
sp_smaps_diff [options] <smaps-capture> ...
DESCRIPTION
The tool reads N smaps caputre files generated with sp_smaps_snapshot and
provides differences in application memory usage between the capture files.
The verbosity of generated diff data can be controlled by
diff level and minimum difference settings.
OPTIONS
-h | --help
This help text
-V | --version
Tool version
-v | --verbose
Enable diagnostic messages
-q | --quiet
Disable warning messages
-s | --silent
Disable all messages
-l# | --level=#
Display results at level:
0 = capture
1 = command
2 = command, pid
3 = command, pid, type
4 = command, pid, type, path
-r# | --min-rank=#
Omit results with rank < given number.
-o<path> | --output=<path>
Write to <path> instead of stdout.
-e<bool> | --filtered-output=<bool>
Filter vertical redundancy from output, makes tables
more human readable. Default: html=yes, csv=no.
EXAMPLES
% sp_smaps_diff --level=3 *after_boot*.csv
Shows difference of smaps snapshots at memory usage down
to level of mapping types (code, data, anon).
% sp_smaps_diff *after_boot*.cap -o boot_diff.sys.csv
Writes diff in csv format using level 0.
% sp_smaps_diff *after_boot*.cap -o boot_diff.pid.html
Writes diff in html using level 2.
NOTES
Setting destination path will also implicitly set the level if
path has some of the following components:
.sys -> 0
.app -> 1
.pid -> 2
.sec -> 3
.obj -> 4
COPYRIGHT
Copyright (C) 2004-2007 Nokia Corporation.
This is free software. You may redistribute copies of it under the
terms of the GNU General Public License v2 included with the software.
There is NO WARRANTY, to the extent permitted by law.
SEE ALSO
sp_smaps_snapshot(1), sp_smaps_normalize(1), sp_smaps_analyze(1)
Improve this page