Class HostInfo
Provides information about zone gov subordinate host
Inheritance
System.Object
HostInfo
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Azos.Sky.Contracts
Assembly: Azos.Sky.dll
Syntax
[Serializable]
public class HostInfo : INamed
Properties
CurrentCPULoad
Current CPU load
Declaration
public int CurrentCPULoad { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
CurrentRAMStatus
Current memory status
Declaration
public MemoryStatus CurrentRAMStatus { get; }
Property Value
Type | Description |
---|---|
MemoryStatus |
LastCatastrophe
Returns last log catastrophe message or null
Declaration
public Message LastCatastrophe { get; }
Property Value
Type | Description |
---|---|
Message |
LastError
Returns last log error message or null
Declaration
public Message LastError { get; }
Property Value
Type | Description |
---|---|
Message |
LastWarning
Returns last log warning message or null
Declaration
public Message LastWarning { get; }
Property Value
Type | Description |
---|---|
Message |
Name
Host name (path) INCLUDING DYNAMIC HOST NAME suffix
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
NetInfo
Returns network information for host
Declaration
public HostNetInfo NetInfo { get; }
Property Value
Type | Description |
---|---|
HostNetInfo |
RandomSample
Sometimes (randomly) captures random integer from ExternalRandomGenerator on the machine, or null
Declaration
public int? RandomSample { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
SkyBuildInfo
Returns build info for Sky system core
Declaration
public BuildInformation SkyBuildInfo { get; }
Property Value
Type | Description |
---|---|
BuildInformation |
SystemBuildInfo
Returns build info for Azos system core
Declaration
public BuildInformation SystemBuildInfo { get; }
Property Value
Type | Description |
---|---|
BuildInformation |
UTCTimeStamp
UTC time stamp of the object status
Declaration
public DateTime UTCTimeStamp { get; }
Property Value
Type | Description |
---|---|
System.DateTime |
Methods
ForThisHost(IApplication)
Declaration
public static HostInfo ForThisHost(IApplication app)
Parameters
Type | Name | Description |
---|---|---|
IApplication | app |
Returns
Type | Description |
---|---|
HostInfo |