Files
bitburner-src/markdown/bitburner.darknet.getblockedram.md

879 B

Home > bitburner > Darknet > getBlockedRam

Darknet.getBlockedRam() method

Gets the amount of RAM blocked by the server owner's processes. This ram can be freed for use using dnet.memoryReallocation() .

Signature:

getBlockedRam(host?: string): number;

Parameters

Parameter

Type

Description

host

string

(Optional) Optional. Hostname/IP of the server to check. Defaults to the running script's server.

Returns:

number

The amount of RAM blocked by the server owner's processes.

Remarks

RAM cost: 0 GB