Skip to main content

Guess whether a process can fork depending on VSZ.

Project description

# 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

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

canfork-0.2.0.tar.gz (16.2 kB view details)

Uploaded Source

File details

Details for the file canfork-0.2.0.tar.gz.

File metadata

  • Download URL: canfork-0.2.0.tar.gz
  • Upload date:
  • Size: 16.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for canfork-0.2.0.tar.gz
Algorithm Hash digest
SHA256 036097bc5e149cad1a999b28f09b8a2546618efd1a8102b8a06b171ccb17ccbd
MD5 a4aacb1ebe5c2204f30ca1d59c8a4e8a
BLAKE2b-256 f342e885c4245e023b9382d8260851bc5cff0d03954c1e2c265d08ee7a2c29cc

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page