Meminfo - ZyXEL Communications VMG1312 Cli Reference Manual

Hide thumbs Also See for VMG1312:
Table of Contents

Advertisement

www.zyxel.com
Login: admin
Password:
> logout
Bye bye. Have a nice day!!!

MEMINFO

NAME
meminfo – display various information about memory usage by various applications and also the CMS
shared memory. This command is useful for diagnosing memory leaks.
SYNOPSIS
meminfo [appname] [command]
DESCRIPTION
meminfo has two variants.
The first variant (stats) displays basic shared memory and heap memory usage statistics. In order to use
this first variant, ENABLE_DEBUG_TOOLS must be enabled in the Debug selection section of make
menuconfig. All profiles in the reference software SDK, except for the 96338R, have this option enabled.
The second variant (traceall, trace50, traceclones) displays detail memory leak tracing information. In
order to use this variant, ENABLE_CMS_MEMORY_LEAK_TRACING must be enabled in the Debug
selection section of make menuconfig. The profiles in the reference software SDK do not have this option
enabled.
Note this meminfo is different from cat /proc/meminfo, which displays system memory usage from the
kernel‟s point of view.
This command does not do any error checking of inputs. If there is an input which it does not recognize, it
is silently ignored.
If appname is not specified, then appname will default to the current app running the CLI. The current app
may be consoled, telnetd, or sshd. (These are the 3 apps that log into the CLI).
If command is not specified, then command will default to "stats", which will dump the shared memory
usage statistics and the private heap memory usage statistics of the current app.
You can also request certain other apps to dump their memory stats or trace info by specifying an appname.
The CLI will send a message to the specified app. Currently, only httpd, tr69c, and ssk supports receiving
of these messages and dumping the requested info. Please note that if you enter an unrecognized app name,
it will be silently ignored and the appname will be the current app.
36
ZyXEL Confidential

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents