Skip to main content

Live stream command line output.

Project description

live

Live stream command line output. Inspect long processes from agent workflows.

File based persistence stored in ~/.live. There are no long running daemons. Large logs auto-rotate. Old sessions are cleaned opportunistically.

Requires Python 3.10+. Zero dependencies.

Install

pipx install live-cmd
# or
uv tool install live-cmd

Install shell completions:

live update-shell

Agent guide:

live llms.txt

Usage

Record any command:

live run -n server npm start

Inspect from another process:

live cat server
live tail -f server
live less server

Manage session recordings:

live ls
live rm server

Config

~/.live/config.json, auto-created.

Option Default Description
ttlDays 7 Time before old sessions are cleaned up. Negative value to disable.
maxKb 512 Per-session output cap, in KB. Older segments are dropped.
segmentKb 64 Segment file size, in KB, before rotation.
heartbeatSec 30 Seconds between writer heartbeats; 3× this marks a session hung.

References

Links

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

live_cmd-0.2.1.tar.gz (65.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

live_cmd-0.2.1-py3-none-any.whl (45.3 kB view details)

Uploaded Python 3

File details

Details for the file live_cmd-0.2.1.tar.gz.

File metadata

  • Download URL: live_cmd-0.2.1.tar.gz
  • Upload date:
  • Size: 65.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.3

File hashes

Hashes for live_cmd-0.2.1.tar.gz
Algorithm Hash digest
SHA256 17f4c1dcb27767ed1724b64cf7cd6b287a3c3bee28f4d4c2fc5867b06cb61263
MD5 2519abba902274f533b266dd7e976603
BLAKE2b-256 f7f674cd00210e3b0221b642dca41892a0f7416e9a475f440f2671cb73815bf6

See more details on using hashes here.

File details

Details for the file live_cmd-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: live_cmd-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 45.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.3

File hashes

Hashes for live_cmd-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 918192d0314ca40b94cfa7928b7282df2ae95f61c75586f87e3e0571444783b2
MD5 433d2634be6fac970a8dd875d64cbf38
BLAKE2b-256 df95fcd5eb226b7cb25e16b8dabcaf14a01f8f911028af7cff3a7fb17fb955d4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page