GetNodeStats()

is a Netscript Hacknet Node API function.
== Description ==
This is a function that returns an object containing various stats about the node from which its index was used in the function's parameter.
== Object ==
This is the object returned:
{
 name: Node's name ("hacknet-node-5"),
 level: Node's level,
 ram: Node's RAM,
 cores: Node's number of cores,
 cache: Cache level. Only applicable for Hacknet Servers
 hashCapacity: Hash Capacity provided by this Node. Only applicable for Hacknet Servers
 production: Node's production per second
 timeOnline: Number of seconds since Node has been purchased,
 totalProduction: Total amount that the Node has produced
}
Category:Functions
Category:API Functions