pypm: A python-based process manager
💻 What is pypm?
pypm is a simple, python-based process manager. You can launch and monitor processes and their resources, automatically detect changes and log outputs. It keeps running after you close the console, which is very useful when dealing with remote sessions (for example, through ssh).
📥 How do I install it?
You can install pypm via pip with pip install python-pm
📖 How do I use it?
Basic use
To start a pypm instance, use the command python -m pypm init. For more info about this command, you can use python -m pypm init --help. This starts a server on your local machine which can be interacted with through the other commands.
The next thing you're going to want to do is add a process to be monitored. You can use python -m pypm add [name] [command]. An example would be python -m pypm add server "python -m http.server 80", which would launch an HTTP server.
To list all current processes, use python -m pypm list. To get the status of a specific process you can call python -m pypm status [name], which will display a table like the one below.
Killing processes is done using the kill instruction. All other options are listed on the help menu. Stopping the pypm instance will kill all running processes. There is a simple visual interface available with the command python -m pypm monit.
On Linux it might be useful to add alias pypm="python3 -m pypm" to your bash profile so the command syntax becomes simpler.
Metadata
Release files for python-pm 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| python-pm-0.0.4.tar.gz | 14.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| python_pm-0.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 30.0 kB
Release files / python-pm-0.0.4.tar.gz
| Download URL | python-pm-0.0.4.tar.gz |
|---|---|
| Size | 14.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b603a557c94a32deb548d0243de37dae2a74e69e11c12f0c44b3de956ebe615b
|
|
BLAKE2b-256 checksum How to use checksums |
c297befb942655af69bf49f390ab89ca2663f32fcc98d004fd5e9f30ddc0b1fd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2
|
Release files / python_pm-0.0.4-py3-none-any.whl
| Download URL | python_pm-0.0.4-py3-none-any.whl |
|---|---|
| Size | 15.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
66ada5120006f76ea83215fb98d0ee05513c4a20c98dca8452fd23f9b3804122
|
|
BLAKE2b-256 checksum How to use checksums |
42a5477298446f3aa68423478ccb93815c0a4862c8dea11f946e10f537f14cde
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2
|