Skip to main content
Cisco SD-WAN
Support
Product Documentation
Viptela Documentation

request nms statistics-db

request nms statistics-db—Start, stop, and perform other operations on the local vManage statistics database (on vManage NMSs only). The vManage statistics database stores all real-time statistics from the local vManage NMS.

Command Syntax

request nms statistics-db (allocate-shards | diagnostics | jcmd option | restart | start | status | stop)

Options

Allocate Unassigned Database Shards
allocate-shards
Check for unassigned shards in the vManage statistics database, and assign them.
Determine the Status of the vManage Statistics Database
status
Determine the status of the local vManage statistics database.
Display Java Process Information
jcmd option
Display information from a Java process running on the vManage web server. option can be one of the following:
gc-class-histo—Histogram of the Java garbage collector. Garbage collection identifies which objects are being used in heap memory.
gc-class-stats—Statistics of the Java garbage collector.
thread-print—Information about the Java threads running on the vManage web server.
vm-cmd—Java virtual machine commands on the vManage web server.
vm-flags—Java virtual machine flags on the vManage web server.
vm-sys-props—Java virtual machine system properties on the vManage web server.
vm-uptime—Java virtual machine uptime on the vManage web server.
vm-ver—Java virtual machine version on the vManage web server.
Restart the Statistics Database
restart
Restart the local vManage statistics database.
Run Diagnostics on Statistics Database
diagnostics
Run diagnostics on the local vManage statistics database.
Start the Statistics Database
start
Start the local vManage statistics database.
Stop the Statistics Database
stop
Stop the local vManage statistics database.

Output Fields

The output fields are self-explanatory.

Example Output

Perform various operations on local vManage statistics database:

vManage# request nms statistics-db status
NMS statistics database
	Enabled: true
	Status:  running PID:472 for 48607s
vManage# request nms statistics-db stop  
Successfully stopped NMS statistics database
vManage# request nms statistics-db restart
Successfully restarted NMS statistics database
vManage# request nms statistics-db status 
NMS statistics database
    Enabled: true
    Status:  running PID:10353 for 4s
vManage# request nms statistics-db jcmd vm-sys-props 
NMS statistics database
10353:
#Mon Mar 21 18:45:06 PDT 2016
jna.platform.library.path=/lib64\:/usr/lib\:/lib
java.runtime.name=Java(TM) SE Runtime Environment
sun.boot.library.path=/usr/lib/jvm/jdk1.8.0_72/jre/lib/amd64
java.vm.version=25.72-b15
es.path.home=/var/lib/elasticsearch
java.vm.vendor=Oracle Corporation
java.vendor.url=http\://java.oracle.com/
path.separator=\:
java.vm.name=Java HotSpot(TM) 64-Bit Server VM
file.encoding.pkg=sun.io
user.country=US
sun.java.launcher=SUN_STANDARD
sun.os.patch.level=unknown
jna.nosys=true
java.vm.specification.name=Java Virtual Machine Specification
user.dir=/var/lib/elasticsearch/bin
java.runtime.version=1.8.0_72-b15
java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
java.endorsed.dirs=/usr/lib/jvm/jdk1.8.0_72/jre/lib/endorsed
os.arch=amd64
java.io.tmpdir=/tmp
line.separator=\n
java.vm.specification.vendor=Oracle Corporation
os.name=Linux
sun.jnu.encoding=ANSI_X3.4-1968
jnidispatch.path=/tmp/jna-564784475/jna988152057480690449.tmp
java.library.path=/usr/java/packages/lib/amd64\:/usr/lib64\:/lib64\:/lib\:/usr/lib
sun.nio.ch.bugLevel=
java.specification.name=Java Platform API Specification
java.class.version=52.0
sun.management.compiler=HotSpot 64-Bit Tiered Compilers
os.version=3.10.62-ltsi
user.home=/home/vmanage
user.timezone=America/Los_Angeles
java.awt.printerjob=sun.print.PSPrinterJob
file.encoding=UTF-8
java.specification.version=1.8
es.logger.prefix=
user.name=vmanage
java.class.path=/var/lib/elasticsearch/lib/elasticsearch-2.2.0.jar\:/var/lib/elasticsearch/lib/HdrHistogram-2.1.6.jar\:/var/lib/elasticsearch/lib/apache-log4j-extras-1.2.17.jar\:/var/lib/elasticsearch/lib/commons-cli-1.3.1.jar\:/var/lib/elasticsearch/lib/compiler-0.8.13.jar\:/var/lib/elasticsearch/lib/compress-lzf-1.0.2.jar\:/var/lib/elasticsearch/lib/elasticsearch-2.2.0.jar\:/var/lib/elasticsearch/lib/guava-18.0.jar\:/var/lib/elasticsearch/lib/hppc-0.7.1.jar\:/var/lib/elasticsearch/lib/jackson-core-2.6.2.jar\:/var/lib/elasticsearch/lib/jackson-dataformat-cbor-2.6.2.jar\:/var/lib/elasticsearch/lib/jackson-dataformat-smile-2.6.2.jar\:/var/lib/elasticsearch/lib/jackson-dataformat-yaml-2.6.2.jar\:/var/lib/elasticsearch/lib/jna-4.1.0.jar\:/var/lib/elasticsearch/lib/joda-convert-1.2.jar\:/var/lib/elasticsearch/lib/joda-time-2.8.2.jar\:/var/lib/elasticsearch/lib/jsr166e-1.1.0.jar\:/var/lib/elasticsearch/lib/jts-1.13.jar\:/var/lib/elasticsearch/lib/log4j-1.2.17.jar\:/var/lib/elasticsearch/lib/lucene-analyzers-common-5.4.1.jar\:/var/lib/elasticsearch/lib/lucene-backward-codecs-5.4.1.jar\:/var/lib/elasticsearch/lib/lucene-core-5.4.1.jar\:/var/lib/elasticsearch/lib/lucene-grouping-5.4.1.jar\:/var/lib/elasticsearch/lib/lucene-highlighter-5.4.1.jar\:/var/lib/elasticsearch/lib/lucene-join-5.4.1.jar\:/var/lib/elasticsearch/lib/lucene-memory-5.4.1.jar\:/var/lib/elasticsearch/lib/lucene-misc-5.4.1.jar\:/var/lib/elasticsearch/lib/lucene-queries-5.4.1.jar\:/var/lib/elasticsearch/lib/lucene-queryparser-5.4.1.jar\:/var/lib/elasticsearch/lib/lucene-sandbox-5.4.1.jar\:/var/lib/elasticsearch/lib/lucene-spatial-5.4.1.jar\:/var/lib/elasticsearch/lib/lucene-spatial3d-5.4.1.jar\:/var/lib/elasticsearch/lib/lucene-suggest-5.4.1.jar\:/var/lib/elasticsearch/lib/netty-3.10.5.Final.jar\:/var/lib/elasticsearch/lib/securesm-1.0.jar\:/var/lib/elasticsearch/lib/snakeyaml-1.15.jar\:/var/lib/elasticsearch/lib/spatial4j-0.5.jar\:/var/lib/elasticsearch/lib/t-digest-3.0.jar
java.vm.specification.version=1.8
java.home=/usr/lib/jvm/jdk1.8.0_72/jre
sun.arch.data.model=64
sun.java.command=org.elasticsearch.bootstrap.Elasticsearch start
user.language=en
java.specification.vendor=Oracle Corporation
awt.toolkit=sun.awt.X11.XToolkit
java.vm.info=mixed mode
java.version=1.8.0_72
java.ext.dirs=/usr/lib/jvm/jdk1.8.0_72/jre/lib/ext\:/usr/java/packages/lib/ext
sun.boot.class.path=/usr/lib/jvm/jdk1.8.0_72/jre/lib/resources.jar\:/usr/lib/jvm/jdk1.8.0_72/jre/lib/rt.jar\:/usr/lib/jvm/jdk1.8.0_72/jre/lib/sunrsasign.jar\:/usr/lib/jvm/jdk1.8.0_72/jre/lib/jsse.jar\:/usr/lib/jvm/jdk1.8.0_72/jre/lib/jce.jar\:/usr/lib/jvm/jdk1.8.0_72/jre/lib/charsets.jar\:/usr/lib/jvm/jdk1.8.0_72/jre/lib/jfr.jar\:/usr/lib/jvm/jdk1.8.0_72/jre/classes
java.vendor=Oracle Corporation
java.awt.headless=true
file.separator=/
java.vendor.url.bug=http\://bugreport.sun.com/bugreport/
sun.io.unicode.encoding=UnicodeLittle
sun.cpu.endian=little
sun.cpu.isalist=
vSmart#

Release Information

Command introduced in Viptela Software Release 16.1.
In Release 16.2.3, add diagnostics option.
In Release 16.3, add allocate-shards option.

  • Was this article helpful?