# Bun Get the process uptime in nanoseconds

> Get the process uptime in nanoseconds

- Skill: `jarle/bun-get-the-process-uptime-in-nanoseconds` (Agent Skill)
- Install (CLI): `npx skillmds@latest add jarle/bun-get-the-process-uptime-in-nanoseconds`
- Raw SKILL.md: https://api.skillmd.com/api/skills/jarle/bun-get-the-process-uptime-in-nanoseconds/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: jarle (https://skillmd.com/u/jarle)
- Updated: 2026-09-21
- Page: https://skillmd.com/skills/jarle/bun-get-the-process-uptime-in-nanoseconds

---


# Get the process uptime in nanoseconds

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

```ts  theme={"theme":{"light":"github-light","dark":"dracula"}}
Bun.nanoseconds();
```

***

See [Docs > API > Utils](/runtime/utils) for more useful utilities.

