# Deep Security Manager REST API

## Name: JVMUsage

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

XML Example:
    <JVMUsage>
      <cpuUsage>xsd:long</cpuUsage>
      <daemonThreads>xsd:int</daemonThreads>
      <gcCount>xsd:long</gcCount>
      <gcTime>xsd:long</gcTime>
      <heapSize>xsd:long</heapSize>
      <heapUsed>xsd:long</heapUsed>
      <liveThreads>xsd:int</liveThreads>
      <managerNodeID>xsd:int</managerNodeID>
      <nativeCPU>xsd:int</nativeCPU>
      <nativeMemoryUsed>xsd:long</nativeMemoryUsed>
      <nativeMemoryUsedPercent>xsd:int</nativeMemoryUsedPercent>
      <nonHeapSize>xsd:long</nonHeapSize>
      <nonHeapUsed>xsd:long</nonHeapUsed>
      <peakThreads>xsd:int</peakThreads>
      <threadsStarted>xsd:long</threadsStarted>
      <time>xsd:datetime</time>
      <uptime>xsd:long</uptime>
    </JVMUsage>
| 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 | Nillable | Default Value | Description
--- | --- | --- | --- | --- | ---
cpuUsage | xsd:long | false | false |  | The estimated number of nanoseconds of CPU use by the JVM since the last time JVM usage statistics were gathered.
daemonThreads | xsd:int | false | false |  | The number of live daemon threads
gcCount | xsd:long | false | false |  | The number of times garbage collection ran since the last time JVM usage statistics were gathered.
gcTime | xsd:long | false | false |  | The estimated number of milliseconds spent in garbage collection since the last time JVM usage statistics were gathered.
heapSize | xsd:long | false | false |  | JVM memory heap size allocated, in bytes.
heapUsed | xsd:long | false | false |  | JVM memory heap used, in bytes
liveThreads | xsd:int | false | false |  | The total number of live threads
managerNodeID | xsd:int | false | false |  | The ID of the manager node these statistics were gathered for.
nativeCPU | xsd:int | false | false |  | 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 | xsd:long | false | false |  | 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 | xsd:int | false | false |  | An integer from 0 to 100 giving estimate of the percentage of total system memory percent usage on the Deep Security Manager node.
nonHeapSize | xsd:long | false | false |  | JVM non-heap memory size allocated, in bytes (non-heap memory includes permgen and code cache).
nonHeapUsed | xsd:long | false | false |  | JVM non-heap memory used, in bytes (Non-heap memory includes permgen and code cache).
peakThreads | xsd:int | false | false |  | The peak number of live threads
threadsStarted | xsd:long | false | false |  | The cumulative number of threads started.
time | xsd:datetime | false | false |  | The time at which these statistics were recorded.
uptime | xsd:long | false | false |  | The number of milliseconds the JVM has been running.

Copyright © 2015 Trend Micro Inc. All Rights Reserved.