Skip to main content

Manages processes

Project description

PMFlow

This is a simple process managing tool

This tools keeps the information of the processes it manages in a json file created at it's installation location

Installation

pip install pmflow

Commands

create: Creates a new process

Required arguments:

  • command: str (default: None)

Optional arguments:

  • --name or -n : str (default: None)
  • --group or -g : str (default: process_id)
  • --relation or -r : "parent" | "child" (default: "parent")
  • --verbose or -v: (default: false)
pm create "<your command>"
or
pm create "<your command>" --name "<your process name>"

ls: List all managed processes

Optional arguments:

  • --json or -j (default: false)
pm ls
pm ls -j

Kill process, kills the process and also removes it from the json file.

pm kill <PID>
pm kill-all

Recreate all process managed by the tool:

pm recreate

Pause a process

pm pause <PID>

respawn all paused process

pm respawn-all

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

pmflow-1.2.0.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

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

pmflow-1.2.0-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file pmflow-1.2.0.tar.gz.

File metadata

  • Download URL: pmflow-1.2.0.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for pmflow-1.2.0.tar.gz
Algorithm Hash digest
SHA256 9d4f1b6a8ae87fc49fcc6a469920d204802860335859302ff7917b29d9de9ed8
MD5 9090b87ec74a4bb386d6b369dc6881b6
BLAKE2b-256 f204a663dcc7c213c44cea660c275ccf828251c85c836d710a44533db781d17a

See more details on using hashes here.

File details

Details for the file pmflow-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: pmflow-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 7.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for pmflow-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f9154942a4a4bb3c7491e2b43e327b3b9337303d867309e4f311b6f433937273
MD5 ec5e8abcc9e7428bb9b76f90e8158722
BLAKE2b-256 7ea0989da147859069d10fdc83a3252b02b257e8e04faf9770d609d3cac89451

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