SYNTAX

    memsampler [options]


OPTIONS

-h (--help) bool

Display help.

-r (--rate) uint

The rate at which to sample memory usage (in milliseconds). Defaults to 1000 ms (1 second).

-n (--no-btrace-config) bool

Don't attempt to configure the BTrace buffer before running the memory sampler. If this option is not specified then BTrace will be configured to only contain traces relating to memory sampling.

-d (--debug) bool

Enable debug output to the underlying console. It only makes sense to use this option if you redirect the main console to a separate window by adding something like --console rcons.dll to your command line.

-H (--human) bool

Display sizes in human readable form.

-f (--file) filename

Capture raw btrace data to the specified file.

-l (--no-live-view) bool

Don't display a live view of memory usage. Only sensible in conjunction with --file or --dedbug.


DESCRIPTION

Gather statistics about memory usage.

A tool that (by default) presents a live view of system memory usage. Memory usage is sampled using a device driver and presented in the form of a table. The order of the table can be changed using the following keys:

u

Display the most recently updated chunks first.

n

Sort by chunk name.

c

Sort by current chunk size.

m

Sort by maximum chunk size.

p

Sort by peak chunk size.

If the same sort order key is pressed more than once, the direction of the sort is toggled. The tool can be exited cleanly by pressing q. If you're using the rcons remote console implementation, it is recommented that you run memsampler in a larger than default window. For example:

  c:\>memsampler --console rcons.dll --console-size 100,60

Note, if the raw data is capture to a file (using the --file option) this data can be converted into comma separated value data (suitable for importing into a spreadsheet) using the tool \epoc32\tools\dmemsampler.


SEE ALSO

the meminfo manpage


COPYRIGHT

Copyright (c) 2008-2010 Accenture. All rights reserved.