---
title: Get the process uptime in nanoseconds
sidebarTitle: Process uptime
mode: center
---

Use `Bun.nanoseconds()` to get the total number of nanoseconds the `bun` process has been alive.

```ts
Bun.nanoseconds();
```

---

See [Utils](/runtime/utils) for more utilities.
