Skip to content

Latest commit

 

History

History
30 lines (17 loc) · 595 Bytes

bitburner.ns.getserverusedram.md

File metadata and controls

30 lines (17 loc) · 595 Bytes

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

The amount of used RAM (GB) on the specified server.

Remarks

RAM cost: 0.05 GB