Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
FreeMemory.cs
1using System.Threading.Tasks;
2using Waher.Reports;
4
6{
11 {
17 : base("FreeMemory", Parent)
18 {
19 }
20
26 public override Task<ExecuteReport> GetExecuteCommand()
27 {
28 return Task.FromResult<ExecuteReport>(CreateCommand(this));
29 }
30
31 internal static SampleStatisticsCommand CreateCommand(ServerAdminReportNode Node)
32 {
33 return new SampleStatisticsCommand("FreeMemory", 8, "Free Memory", "MB", 0, null, "1 min", Node);
34 }
35 }
36}
Abstract base class for commands executing a report.
INode Parent
Parent Node, or null if a root node.
Definition: ReportNode.cs:107
override Task< ExecuteReport > GetExecuteCommand()
Gets the command object to execute a report. If null is returned, the report node is just a group pla...
Definition: FreeMemory.cs:26
FreeMemory(PerformanceRoot Parent)
Report on available memory.
Definition: FreeMemory.cs:16
Abstract base class for server report nodes, requiring admin privileges to be seen and executed.