public class JVMInfoUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
PRINT_SECTION_LENGTH |
| Modifier and Type | Method and Description |
|---|---|
String[] |
getCPUInfo() |
String |
getHostMachineName() |
static JVMInfoUtil |
getInstance() |
String[] |
getJREInfo() |
String[] |
getJVMInfo() |
String |
getJVMProcess() |
int |
getJVMProcessId() |
String[] |
getMemoryInfo() |
String[] |
getOSInfo() |
String |
getRealTime() |
boolean |
isChinese(String strName) |
int |
length(String value) |
void |
print(PrintStream out,
String... data) |
void |
printAllInfos() |
void |
printAllInfos(PrintStream out) |
void |
printCPUInfo(PrintStream out) |
void |
printHostMachineName(PrintStream out) |
void |
printJREInfo(PrintStream out) |
void |
printJVMInfo(PrintStream out) |
void |
printJVMProcessId(PrintStream out) |
void |
printMemoryInfo(PrintStream out) |
void |
printOSInfo(PrintStream out) |
void |
printSection(PrintStream out,
String s) |
String |
printSection(String s) |
public static final int PRINT_SECTION_LENGTH
public void print(PrintStream out, String... data)
public String[] getMemoryInfo()
public String[] getCPUInfo()
public String[] getOSInfo()
public String[] getJREInfo()
public String[] getJVMInfo()
public String getJVMProcess()
public String getHostMachineName()
public int getJVMProcessId()
public String getRealTime()
public void printJVMProcessId(PrintStream out)
public void printHostMachineName(PrintStream out)
public void printMemoryInfo(PrintStream out)
public void printCPUInfo(PrintStream out)
public void printOSInfo(PrintStream out)
public void printJREInfo(PrintStream out)
public void printJVMInfo(PrintStream out)
public void printAllInfos()
public void printAllInfos(PrintStream out)
public void printSection(PrintStream out, String s)
public int length(String value)
public boolean isChinese(String strName)
public static final JVMInfoUtil getInstance()
Copyright © 2014–2015. All rights reserved.