Class SystemInfo

java.lang.Object
org.compiere.server.SystemInfo
All Implemented Interfaces:
Serializable

public class SystemInfo extends Object implements Serializable
Author:
hengsin
See Also:
  • Method Details

    • getPropertyFileName

      public String getPropertyFileName()
      Returns:
      idempiere property filename
    • getIDempiereHome

      public String getIDempiereHome()
      Returns:
      idempiere home
    • getOperatingSystem

      public String getOperatingSystem()
      Returns:
      the operatingSystem
    • getJavaVM

      public String getJavaVM()
      Returns:
      the javaVM
    • getDatabaseDescription

      public String getDatabaseDescription()
      Returns:
      the databaseDescription
    • getDatabaseConnectionURL

      public String getDatabaseConnectionURL()
      Returns:
      the databaseConnectionURL
    • getDatabaseStatus

      public String getDatabaseStatus()
      Returns:
      the databaseStatus
    • getMemoryUsage

      public String getMemoryUsage()
      Returns:
      the memoryUsage
    • getHeapMemoryUsage

      public String getHeapMemoryUsage()
      Returns:
      the heapMemoryUsage
    • getRuntimeName

      public String getRuntimeName()
      Returns:
      the runtimeName
    • getRuntimeUpTime

      public long getRuntimeUpTime()
      Returns:
      the runtimeUpTime
    • getThreadCount

      public int getThreadCount()
      Returns:
      the threadCount
    • getPeakThreadCount

      public int getPeakThreadCount()
      Returns:
      the peakThreadCount
    • getDaemonThreadCount

      public int getDaemonThreadCount()
      Returns:
      the daemonThreadCount
    • getTotalStartedThreadCount

      public long getTotalStartedThreadCount()
      Returns:
      the totalStartedThreadCount
    • getTrxInfos

      public TrxInfo[] getTrxInfos()
      Returns:
      the trxInfos
    • getLogLevel

      public Level getLogLevel()
      Returns:
      the logLevel
    • getCurrentLogFile

      public String getCurrentLogFile()
      Returns:
      the currentLogFile
    • getLogFileInfos

      public LogFileInfo[] getLogFileInfos()
      Returns:
      the logFileInfos
    • getGarbageCollectionTime

      public long getGarbageCollectionTime()
      Returns:
      the garbageCollectionTime
    • getLocalSystemInfo

      public static SystemInfo getLocalSystemInfo()
    • getGarbageCollectionCount

      public long getGarbageCollectionCount()
      Returns:
      the garbageCollectionCount
    • getAvailableProcessors

      public int getAvailableProcessors()
      Returns:
      the availableProcessors
    • getAverageSystemLoad

      public double getAverageSystemLoad()
      Returns:
      the averageSystemLoad
    • getSessionCount

      public int getSessionCount()
      Returns:
      the sessionCount
    • getAddress

      public InetAddress getAddress()
      Returns:
      the address
    • getClusterNodeInfo

      public static SystemInfo getClusterNodeInfo(String nodeId)
      Parameters:
      nodeId -
      Returns:
      systeminfo for cluster node
    • getClusterSessionCount

      public static int getClusterSessionCount(IClusterMember member)
      Parameters:
      member -
      Returns:
      session count for cluster node