# sleep (wait for specific time in the .script command)

### Command

> sleep

### Syntax

> sleep \[MillisecondsTime (hex)]

### Description

Waits for the specified time (in milliseconds).

### Parameters

**\[MillisecondsTime (hex)]**

The time that debugger should wait, in milliseconds.

### IOCTL

None

### Remarks

This command is used in batch script files when we want to gather information for a specific time and then execute the [**pause** ](https://docs.hyperdbg.org/commands/debugging-commands/pause)command or the [**unload** ](https://docs.hyperdbg.org/commands/debugging-commands/unload)command to stop the debugger.

### Requirements

None

### Related

[pause (break to the debugger and pause processing kernel packets)](https://docs.hyperdbg.org/commands/debugging-commands/pause)

[unload (unload the kernel modules)](https://docs.hyperdbg.org/commands/debugging-commands/unload)

[.script (run batch script commands)](https://docs.hyperdbg.org/commands/meta-commands/.script)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.hyperdbg.org/commands/debugging-commands/sleep.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
