Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
AllocatedMemory.cs
1using System.Threading.Tasks;
2using Waher.Reports;
4
6{
11 {
17 : base("AllocatedMemory", 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("AllocMemory", 22, "Allocated Memory", "MB",
34 0, null, "1 min", Node);
35 }
36 }
37}
Abstract base class for commands executing a report.
INode Parent
Parent Node, or null if a root node.
Definition: ReportNode.cs:107
AllocatedMemory(PerformanceRoot Parent)
Report on allocated memory.
override Task< ExecuteReport > GetExecuteCommand()
Gets the command object to execute a report. If null is returned, the report node is just a group pla...
Abstract base class for server report nodes, requiring admin privileges to be seen and executed.