# Deep Security Manager REST API

## Name: JVMUsage

Information about how a Deep Security Manager node has used the Java Virtual Machine (JVM).

JSON Example:
    {"JVMUsage":
     {
       "cpuUsage": Number,
       "daemonThreads": Number,
       "gcCount": Number,
       "gcTime": Number,
       "heapSize": Number,
       "heapUsed": Number,
       "liveThreads": Number,
       "managerNodeID": Number,
       "nativeCPU": Number,
       "nativeMemoryUsed": Number,
       "nativeMemoryUsedPercent": Number,
       "nonHeapSize": Number,
       "nonHeapUsed": Number,
       "peakThreads": Number,
       "threadsStarted": Number,
       "time": Date,
       "uptime": Number,
     }
    }

Elements
Name | Type | Required | Default Value | Description
--- | --- | --- | --- | ---
cpuUsage | Number | No | `` | The estimated number of nanoseconds of CPU use by the JVM since the last time JVM usage statistics were gathered.
daemonThreads | Number | No | `` | The number of live daemon threads
gcCount | Number | No | `` | The number of times garbage collection ran since the last time JVM usage statistics were gathered.
gcTime | Number | No | `` | The estimated number of milliseconds spent in garbage collection since the last time JVM usage statistics were gathered.
heapSize | Number | No | `` | JVM memory heap size allocated, in bytes.
heapUsed | Number | No | `` | JVM memory heap used, in bytes
liveThreads | Number | No | `` | The total number of live threads
managerNodeID | Number | No | `` | The ID of the manager node these statistics were gathered for.
nativeCPU | Number | No | `` | An integer from 0 to 100 giving estimate of the percentage of the average CPU percent usage on the Deep Security Manager node, including CPU used by processes other than the JVM.
nativeMemoryUsed | Number | No | `` | An estimate of the total native memory used on the Deep Security Manager node, including memory used by processes other than the JVM, in bytes.
nativeMemoryUsedPercent | Number | No | `` | An integer from 0 to 100 giving estimate of the percentage of total system memory percent usage on the Deep Security Manager node.
nonHeapSize | Number | No | `` | JVM non-heap memory size allocated, in bytes (non-heap memory includes permgen and code cache).
nonHeapUsed | Number | No | `` | JVM non-heap memory used, in bytes (Non-heap memory includes permgen and code cache).
peakThreads | Number | No | `` | The peak number of live threads
threadsStarted | Number | No | `` | The cumulative number of threads started.
time | Date | No | `` | The time at which these statistics were recorded.
uptime | Number | No | `` | The number of milliseconds the JVM has been running.

Copyright © 2017 Trend Micro Inc. All Rights Reserved.