bitburner-src/markdown/bitburner.ns.killall.md
Olivier Gagnon feb0430aff work on doc
2021-10-30 15:46:34 -04:00

31 lines
783 B
Markdown

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [NS](./bitburner.ns.md) &gt; [killall](./bitburner.ns.killall.md)
## 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.
<b>Signature:</b>
```typescript
killall(host: string): boolean;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| host | string | IP or hostname of the server on which to kill all scripts. |
<b>Returns:</b>
boolean
True if any scripts were killed, and false otherwise.
## Remarks
RAM cost: 0.5 GB