mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-09 17:23:53 +01:00
783 B
783 B
Home > bitburner > NS > killall
NS.killall() method
Kills all running scripts on the specified server. This function returns true if any scripts were killed, and false otherwise. In other words, it will return true if there are any scripts running on the target server.
Signature:
killall(host: string): boolean;
Parameters
Parameter | Type | Description |
---|---|---|
host | string | IP or hostname of the server on which to kill all scripts. |
Returns:
boolean
True if any scripts were killed, and false otherwise.
Remarks
RAM cost: 0.5 GB