canfork-0.2.0
توضیحات
Guess whether a process can fork depending on VSZ.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | canfork-0.2.0 |
| نام | canfork |
| نسخه کتابخانه | 0.2.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Thomas Orozco |
| ایمیل نویسنده | thomas@orozco.fr |
| آدرس صفحه اصلی | https://github.com/krallin/canfork |
| آدرس اینترنتی | https://pypi.org/project/canfork/ |
| مجوز | ISCL |
# 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
نحوه نصب
نصب پکیج whl canfork-0.2.0:
pip install canfork-0.2.0.whl
نصب پکیج tar.gz canfork-0.2.0:
pip install canfork-0.2.0.tar.gz