Skip to content

VMA Statistics

Liran Oz edited this page Nov 25, 2018 · 2 revisions

Use vma_stats in order to see VMA statistics in real time.

VMA Statistics Usage:

vma_stats [-p pid] [-k directory] [-v view] [-d details] [-i interval]

Defaults:

find_pid=enabled, directory="/tmp/", view=1, details=1, interval=1

Options:

-p, --pid= Show VMA statistics for process with pid: <pid>

-k, --directory=<directory> Set shared memory directory path to <directory>

-n, --name=<application> Show VMA statistics for application: <application>

-f, --find_pid Find and show statistics for VMA instance running (default)

-F, --forbid_clean By setting this flag inactive shared objects would not be removed

-i, --interval=<n> Print report every <n> seconds

-c, --cycles=<n> Do report print cycles and exit, use 0 value for infinite (default)

-v, --view=<1|2|3|4|5> Set view type:1- basic info,2- extra info,3- full info,4- mc groups,5- similar to 'netstat -tunaep'

-d, --details=<1|2> Set details mode:1- to see totals,2- to see deltas

-z, --zero Zero counters

-l, --log_level=<level> Set VMA log level to <level>(one of: none/panic/error/warn/info/details/debug/fine/finer/all)

-S, --fd_dump=<fd> [<level>] Dump statistics for fd number <fd> using log level <level>. use 0 value for all open fds.

-D, --details_level=<level> Set VMA log details level to <level>(0 <= level <= 3)

-s, --sockets=<list|range> Log only sockets that match <list> or <range>, format: 4-16 or 1,9 (or combination)

-V, --version Print version

-h, --help Print this help message

Clone this wiki locally