Skip to main content
Revyl captures performance metrics, network requests, and a device trace during every cloud session. You can stream these live while a session is running, or retrieve them as artifacts after the session completes. This page covers the CLI surface for both. All commands target an active session by default. Use -s <index> to pick a specific one from revyl device list.

Live Performance Metrics — revyl device perf

Polls CPU%, memory, and (on iOS) FPS from the active session.
Columns adapt to the platform: Flags: If the capture pipeline hasn’t started yet, the CLI prints Capture not running, waiting... and keeps polling.

Live Network Requests — revyl device requests

Streams network requests observed on the device in real time. Each row shows a compact summary (method, status, URL, size, latency).
Flags: Live request capture has platform prerequisites. If the active session can’t produce live requests, the command exits with a clear error. Post-session request data is always available via device report --artifact network (below).

Live Device Logs — revyl device logs

Streams raw device log lines in real time — logcat on Android, OSLog / NSLog on iOS. Each entry is printed as a single platform-native line; pipe through grep / rg to filter.
Flags: If the capture pipeline hasn’t started yet, the CLI prints Capture not running, waiting... and keeps polling. Post-session logs are also included in the full device report output.

Session Report & Artifacts — revyl device report

Fetches the stored report for a session and, optionally, individual capture artifacts.
Flags: The artifact flags are mutually required: --download and --output need --artifact, and --output needs --download.

Airplane-Mode Toggle — revyl device network

Flips airplane mode on the device so you can exercise offline/online transitions inside a test.
Flags --connected and --disconnected are mutually exclusive; one is required.

Named Device Presets — revyl device start --device-name

Start a session using a named preset instead of specifying model + OS version directly. Presets currently include revyl-android-phone and revyl-ios-iphone.
Presets are an alternative to --device-model + --os-version. Use revyl device targets to see the full catalog of available models and OS versions.
  • revyl device list / revyl device use <index> — manage multiple sessions.
  • revyl device info --json — includes the live WebRTC stream URL (whep_url).
  • Device Quickstart — end-to-end walkthrough of a cloud session.
  • Troubleshooting — what to do when capture, grounding, or sessions misbehave.