# canfork #
Guess whether a process can fork based on its virtual memory usage and free system memory.
Install via pip install canfork.
Run canfork PID.
# Why? #
While
# Limitations #
Canfork currently assumes you are running with default memory overcommit settings. However, in practice, if you aren’t, then the answer to “can this process fork?” is much simpler, and hardly requires a separate tool:
Always overcommit: You can always fork.
Don’t overcommit: You can only fork if your virtual memory is < available memory
Metadata
Release files for canfork 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| canfork-0.2.0.tar.gz | 16.2 kB | Details |
Release files / canfork-0.2.0.tar.gz
| Download URL | canfork-0.2.0.tar.gz |
|---|---|
| Size | 16.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
036097bc5e149cad1a999b28f09b8a2546618efd1a8102b8a06b171ccb17ccbd
|
|
BLAKE2b-256 checksum How to use checksums |
f342e885c4245e023b9382d8260851bc5cff0d03954c1e2c265d08ee7a2c29cc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |