process uptime
How long a service or process has been running, or the share of time it has been available.
In more detail
A running service can report its uptime, for example with process.uptime() in Node.js. A value that keeps resetting to a few seconds shows the service is restarting.
Example
The course health check Route Handler returns uptime in its JSON.Related terms
- health endpoint — A web address, often /health, that a service answers quickly to show it is up.
Taught in
- Route Handlers: RESTful Endpoints with NextRequest — Next.js 15 & Modern App Router Architecture