Package sk.iway.iwcm.system.monitoring
Class CpuInfo
java.lang.Object
sk.iway.iwcm.system.monitoring.CpuInfo
CpuInfo.java
Obsahuje informacie o vyuziti procesora pre cely system a proces webjetu
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
Get number of CPU coresint
Get total CPU usageint
Get process CPU usage for the Java Virtual Machine process
-
Constructor Details
-
CpuInfo
public CpuInfo()
-
-
Method Details
-
getCpuUsage
public int getCpuUsage()Get total CPU usage- Returns:
-
getCpuUsageProcess
public int getCpuUsageProcess()Get process CPU usage for the Java Virtual Machine process- Returns:
-
getCpuCount
public int getCpuCount()Get number of CPU cores- Returns:
-