Home > bitburner > NS > getServerUsedRam
Get the used RAM on a server.
Signature:
getServerUsedRam(host: string): number;
Parameter | Type | Description |
---|---|---|
host | string | Hostname of the target server. |
Returns:
number
The amount of used RAM (GB) on the specified server.
RAM cost: 0.05 GB