GigaSpaces XAP 9.7.2 API

org.openspaces.admin.os
Interface OperatingSystemStatistics


public interface OperatingSystemStatistics

Statistics of a specific OperatingSystem.

Author:
kimchy

Nested Class Summary
static interface OperatingSystemStatistics.NetworkStatistics
           
 
Method Summary
 long getActualFreePhysicalMemorySizeInBytes()
           
 double getActualFreePhysicalMemorySizeInGB()
           
 double getActualFreePhysicalMemorySizeInMB()
           
 long getActualMemoryUsed()
           
 double getActualPhysicalMemoryUsedPerc()
          Returns the percentage used of the actual physical memory out of the total physical memory.
 long getAdminTimestamp()
          Returns a timestamp that is in sync with where the admin API is running.
 double getCpuPerc()
          Returns the combined cpu perc (User + Sys + Nice + Wait)
 String getCpuPercFormatted()
           
 OperatingSystemDetails getDetails()
          Returns the operating system details.
 long getFreePhysicalMemorySizeInBytes()
           
 double getFreePhysicalMemorySizeInGB()
           
 double getFreePhysicalMemorySizeInMB()
           
 long getFreeSwapSpaceSizeInBytes()
           
 double getFreeSwapSpaceSizeInGB()
           
 double getFreeSwapSpaceSizeInMB()
           
 Map<String,OperatingSystemStatistics.NetworkStatistics> getNetworkStats()
          Returns the network statistics per network device.
 double getPhysicalMemoryUsedPerc()
          Returns the percentage used of physical memory out of the total physical memory space.
 OperatingSystemStatistics getPrevious()
          Returns the previous statistics taken.
 double getSwapSpaceUsedPerc()
          Returns the percentage used of swap space out of the total swap space.
 List<OperatingSystemStatistics> getTimeline()
          Returns the timeline (from newest to oldest) history statistics, including this one.
 long getTimestamp()
          Returns the timestamp when the statistics were take.
 boolean isNA()
          Returns true if the statistics are not available.
 

Method Detail

isNA

boolean isNA()
Returns true if the statistics are not available.


getTimestamp

long getTimestamp()
Returns the timestamp when the statistics were take.


getAdminTimestamp

long getAdminTimestamp()
Returns a timestamp that is in sync with where the admin API is running. Can return -1 if the clocks have are not sync yet.


getDetails

OperatingSystemDetails getDetails()
Returns the operating system details.


getTimeline

List<OperatingSystemStatistics> getTimeline()
Returns the timeline (from newest to oldest) history statistics, including this one.


getPrevious

OperatingSystemStatistics getPrevious()
Returns the previous statistics taken. Returns null if this is the fist one.


getFreeSwapSpaceSizeInBytes

long getFreeSwapSpaceSizeInBytes()

getFreeSwapSpaceSizeInMB

double getFreeSwapSpaceSizeInMB()

getFreeSwapSpaceSizeInGB

double getFreeSwapSpaceSizeInGB()

getSwapSpaceUsedPerc

double getSwapSpaceUsedPerc()
Returns the percentage used of swap space out of the total swap space.


getFreePhysicalMemorySizeInBytes

long getFreePhysicalMemorySizeInBytes()

getFreePhysicalMemorySizeInMB

double getFreePhysicalMemorySizeInMB()

getFreePhysicalMemorySizeInGB

double getFreePhysicalMemorySizeInGB()

getActualFreePhysicalMemorySizeInBytes

long getActualFreePhysicalMemorySizeInBytes()

getActualFreePhysicalMemorySizeInMB

double getActualFreePhysicalMemorySizeInMB()

getActualFreePhysicalMemorySizeInGB

double getActualFreePhysicalMemorySizeInGB()

getPhysicalMemoryUsedPerc

double getPhysicalMemoryUsedPerc()
Returns the percentage used of physical memory out of the total physical memory space. Uses the total free memory e.g. e.g. Linux plus cached.


getActualPhysicalMemoryUsedPerc

double getActualPhysicalMemoryUsedPerc()
Returns the percentage used of the actual physical memory out of the total physical memory.


getCpuPerc

double getCpuPerc()
Returns the combined cpu perc (User + Sys + Nice + Wait)


getCpuPercFormatted

String getCpuPercFormatted()

getActualMemoryUsed

long getActualMemoryUsed()
Returns:
Actual Memory Used, in bytes
Since:
9.7.2

getNetworkStats

Map<String,OperatingSystemStatistics.NetworkStatistics> getNetworkStats()
Returns the network statistics per network device.


GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.