mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-30 03:23:48 +01:00
06a985bdf8
This reverts commit bbb6e3f309935aebac74ddb1fbeec12dfb7540b1.
562 B
562 B
Home > bitburner > NS > getServerUsedRam
NS.getServerUsedRam() method
Get the used RAM on a server.
Signature:
getServerUsedRam(host: string): number;
Parameters
Parameter | Type | Description |
---|---|---|
host | string | Hostname of the target server. |
Returns:
number
used ram (GB)
Remarks
RAM cost: 0.05 GB