mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-27 01:53:48 +01:00
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