Skip to main content

Monitor running Claude Code sessions in your terminal

Project description

claude-sessions

Monitor all running Claude Code sessions in your terminal.

┌─────────────────────── Session Monitor (9 active) ───────────────────────┐
│                          Claude Code Sessions                            │
│ ┏━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━┓ │
│ ┃      PID ┃ Directory                    ┃  Terminal  ┃ Uptime ┃ Status┃ │
│ ┡━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━┩ │
│ │    31781 │ ~/git/my-project             │  ttys000   │  5d 3h │  Idle │ │
│ │    56351 │ ~                            │  ttys005   │ 1h 24m │  Idle │ │
│ │    61185 │ ~/git/another-project        │  ttys011   │    40m │  Idle │ │
│ └──────────┴──────────────────────────────┴────────────┴────────┴───────┘ │
│                    Updated: 18:45:32 | Press Ctrl+C to exit              │
└──────────────────────────────────────────────────────────────────────────┘

Installation

pip install claude-sessions

Usage

claude-sessions

That's it! The monitor updates every 3 seconds. Press Ctrl+C to exit.

Features

  • Real-time monitoring of all Claude Code CLI sessions
  • Shows PID, working directory, terminal, uptime, and status
  • Auto-refreshes every 3 seconds
  • Clean TUI with rich

Requirements

  • Python 3.10+
  • macOS or Linux
  • Claude Code CLI installed

License

MIT

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

claude_sessions-0.1.0.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

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

claude_sessions-0.1.0-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file claude_sessions-0.1.0.tar.gz.

File metadata

  • Download URL: claude_sessions-0.1.0.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for claude_sessions-0.1.0.tar.gz
Algorithm Hash digest
SHA256 95c20c6d4d0ed13d2cbd33b2b02dc4f7a02e945757fbf776cba70be9eb77f3bd
MD5 f93af0c9a33e52dc2bb592a3b4b8a904
BLAKE2b-256 a148d6322ef60f849e6ba17efe5ea03b937544c9850fa54c7d6acfbd301a31c1

See more details on using hashes here.

File details

Details for the file claude_sessions-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for claude_sessions-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8a82ed883dc990170324dd2c3bdb6f287565026b9b032ac523a4101f158701ca
MD5 a01165c81d3bb476c4a922260b5445b5
BLAKE2b-256 1e3bf988ca37db4f60647a7aee2f3af05d365957d6d5d9b85c6360bfe9825881

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