Skip to main content

Process monitor CLI - list, filter, watch, and manage processes

Project description

procwatch

Process monitor CLI - list, filter, watch, and manage processes.

Installation

pip install procwatch

Usage

List Processes

# List top processes by CPU
procwatch list

# Sort by memory
procwatch list --sort mem

# Filter by name
procwatch list --filter python

# Filter by user
procwatch list --user root

# Show all (no limit)
procwatch list --all

# JSON output
procwatch list --json

Watch a Process

# Watch a specific PID
procwatch watch 12345

# Custom interval
procwatch watch 12345 --interval 0.5

# Single snapshot as JSON
procwatch watch 12345 --json

Process Tree

# Full process tree
procwatch tree

# Tree from specific PID
procwatch tree 12345

# JSON output
procwatch tree --json

Live Monitor (like top)

# Live monitor
procwatch top

# Custom interval and limit
procwatch top --interval 1 --limit 20

Kill Processes

# Kill by PID
procwatch kill 12345

# Kill by name pattern
procwatch kill python

# Force kill (SIGKILL)
procwatch kill python --force

# Skip confirmation
procwatch kill 12345 --yes

# JSON output (no prompts)
procwatch kill python --json

Process Info

# Detailed info about a process
procwatch info 12345

# JSON output
procwatch info 12345 --json

For AI Agents

See SKILL.md for agent-optimized documentation.

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

procwatch-0.1.0.tar.gz (7.7 kB view details)

Uploaded Source

Built Distribution

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

procwatch-0.1.0-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for procwatch-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d76b7fa9956788dbe47fc0cd8beae3708483e32c0dde6d99354d82a391948558
MD5 214f28ce489299be9bc7496c1ec5c661
BLAKE2b-256 0d94d59f159ca9212c112b02397466c8ec5da467a400d7bea53fa026bd7507a5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: procwatch-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for procwatch-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6b0b7c42e786fd596dec4d3c3553dc48647ba0ee2378d692786aea75604ef98a
MD5 b03553be879b0a006d9da664670045c0
BLAKE2b-256 e512ef39c2162056b0612fb967456c52ac13939321726e1c5fe0e09b707c3e11

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