|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.neeve.server.mon.SrvMonHeartbeatTracer.Sys
public static final class SrvMonHeartbeatTracer.Sys
Handles Sys Stats for formatting and printing. System stats include stats from i ) GC stats - Heap Size and collection time ii) JIT Information iii) System Load average ii) Thread Count
[System Stats] Wed Jan 27 01:26:31 PST 2016 'oms' server (pid=11072) 2 apps (collection time=0 ns) System: 4 processors load average: -1.00 Memory: HEAP 92M init 58M used 95M commit 1.3G max NON-HEAP 23M init 38M used 39M commit 130M max Threads: 29 total (26 daemon) 30 peak JIT: HotSpot 64-Bit Tiered Compilers, time: 4075 ms [7 49 ms] [0 0 ms]
| Constructor Summary | |
|---|---|
SrvMonHeartbeatTracer.Sys()
|
|
| Method Summary | |
|---|---|
static void |
formatDiskInfoForPrint(SrvMonSysStats stats,
StringBuilder sb)
Format disk information for printing |
static StringBuilder |
formatForPrint(long collectionStartWallTime,
String serverName,
String serverPid,
int appCount,
SrvMonSysStats stats,
long collectionElapsedTime,
StringBuilder sb)
Format system info for printing as [System Stats] Wed Jan 27 01:26:31 PST 2016 'oms' server (pid=11072) 2 apps (collection time=0 ns) System: 4 processors load average: -1.00 Memory: HEAP 92M init 58M used 95M commit 1.3G max NON-HEAP 23M init 38M used 39M commit 130M max Threads: 29 total (26 daemon) 30 peak JIT: HotSpot 64-Bit Tiered Compilers, time: 4075 ms [7 49 ms] [0 0 ms] |
static void |
formatGCInfoForPrint(SrvMonSysStats stats,
StringBuilder sb)
Format GC information for printing |
static void |
formatGeneralInfoForPrint(long collectionStartWallTime,
String serverName,
String serverPid,
int appCount,
long collectionElapsedTime,
StringBuilder sb)
Format general information of stats for printing |
static void |
formatJITInfoForPrint(SrvMonSysStats stats,
StringBuilder sb)
Format JIT information for printing |
static void |
formatMemoryInfoForPrint(SrvMonSysStats stats,
StringBuilder sb)
Format memory information for printing |
static void |
formatSystemInfoForPrint(SrvMonSysStats stats,
StringBuilder sb)
Format system information for printing |
static void |
formatThreadInfoForPrint(SrvMonSysStats stats,
StringBuilder sb)
Format thread information for printing |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SrvMonHeartbeatTracer.Sys()
| Method Detail |
|---|
public static final void formatGeneralInfoForPrint(long collectionStartWallTime,
String serverName,
String serverPid,
int appCount,
long collectionElapsedTime,
StringBuilder sb)
collectionStartWallTime - - The time when stats were collectedserverName - - Name of the server where starts are collectedserverPid - - PID of the process for which the stats belongappCount - - Count of applications in one stats recordcollectionElapsedTime - - Elapsed time of stats collectionsb - - Handle of String builder where all formatted stats are appended
public static final void formatSystemInfoForPrint(SrvMonSysStats stats,
StringBuilder sb)
stats - - SrvMonSysStats object which contains system statssb - -Handle of String builder where all formatted stats are appended
public static final void formatMemoryInfoForPrint(SrvMonSysStats stats,
StringBuilder sb)
stats - - SrvMonSysStats object from which all memory stats are readsb - - Handle of String builder where all formatted stats are appended
public static final void formatDiskInfoForPrint(SrvMonSysStats stats,
StringBuilder sb)
public static final void formatThreadInfoForPrint(SrvMonSysStats stats,
StringBuilder sb)
stats - - Handle of SrvMonSysStats object to read Thread countssb - - Handle of String builder where all formatted stats are appended
public static final void formatJITInfoForPrint(SrvMonSysStats stats,
StringBuilder sb)
stats - - Handle of SrvMonSysStats to read JIT compiler statssb - - Handle of String builder where all formatted stats are appended
public static final void formatGCInfoForPrint(SrvMonSysStats stats,
StringBuilder sb)
stats - - Handle of SrvMonSysStats to read GC related statssb - - Handle of String builder where all formatted stats are appended
public static final StringBuilder formatForPrint(long collectionStartWallTime,
String serverName,
String serverPid,
int appCount,
SrvMonSysStats stats,
long collectionElapsedTime,
StringBuilder sb)
collectionStartWallTime - - The time when stats were collectedserverName - - Name of the server where starts are collectedserverPid - - PID of the process for which the stats belongappCount - - Count of applications in one stats recordstats - - Stats object from which all system stats are readcollectionElapsedTime - - Elapsed time of stats collectionsb - - Handle of String builder to update
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||