# urbestack-load-session-set

First published 26 Oct 2026 (release 0.2.17) · Unchanged since publication

UrbeStack release 0.2.35 command, run as root in the server shell.

## Usage

```
urbestack-load-session-set --id ID --keep|--no-keep
```

## Description

Changes whether the running Load monitor session keeps its readings after it ends. Pass the session ID with --id, using its UTC start time in the form 20261025-171203. Use --keep to save the readings or --no-keep to discard them when the session ends. The command refuses changes to an ended session.

## Same in the API

- [PATCH /load/sessions/{id}](https://urbestack.com/docs/api/patch-load-sessions-id.md): Set whether the running Load monitor session keeps its readings

## Command family: load

- [urbestack-load-reading](https://urbestack.com/docs/commands/urbestack-load-reading.md): Takes a single reading of the server for the Load monitor.
- [urbestack-load-session-list](https://urbestack.com/docs/commands/urbestack-load-session-list.md): Lists the running Load monitor session, if there is one, and kept sessions, newest first.
- [urbestack-load-session-remove](https://urbestack.com/docs/commands/urbestack-load-session-remove.md): Removes an ended Load monitor session and its readings.
- [urbestack-load-session-show](https://urbestack.com/docs/commands/urbestack-load-session-show.md): Shows a Load monitor session and its readings.
- [urbestack-load-session-start](https://urbestack.com/docs/commands/urbestack-load-session-start.md): Starts a Load monitor session that takes readings of the server at regular intervals.
- [urbestack-load-session-stop](https://urbestack.com/docs/commands/urbestack-load-session-stop.md): Stops the running Load monitor session, regardless of who started it.
