gcore

0.0.3 • Public • Published

node-gcore

A small module to induce core files from inside a node process.

The more memory the process is using, the longer this will take, and for consistency reasons the method should be synchronous.

Usage

  • gcore(filename)
    • Will SYNCHRONOUSLY produce a corefile with the name filename
    • Returns true/false if it was able create a core file
var gcore = require('gcore').gcore;
var result = gcore("corefile");

Caveats

  • Currently only for Linux based platforms, but trivial to add SmartOS and probably others.

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i gcore

    Weekly Downloads

    4

    Version

    0.0.3

    License

    MIT

    Last publish

    Collaborators

    • tjfontaine