2021-10-30 18:34:14 +02:00
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home ](./index.md ) > [bitburner ](./bitburner.md ) > [NS ](./bitburner.ns.md ) > [killall ](./bitburner.ns.killall.md )
## NS.killall() method
2021-11-03 23:16:10 +01:00
Terminate all scripts on a server.
2021-10-30 18:34:14 +02:00
< b > Signature:< / b >
```typescript
2021-10-30 21:46:34 +02:00
killall(host: string): boolean;
2021-10-30 18:34:14 +02:00
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
2021-10-30 21:46:34 +02:00
| host | string | IP or hostname of the server on which to kill all scripts. |
2021-10-30 18:34:14 +02:00
< b > Returns:< / b >
boolean
True if any scripts were killed, and false otherwise.
## Remarks
2021-10-30 21:46:34 +02:00
RAM cost: 0.5 GB
2021-10-30 18:34:14 +02:00
2021-11-03 23:16:10 +01:00
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.