0.0.3 • Published 9 years ago

gcore v0.0.3

Weekly downloads
18
License
MIT
Repository
github
Last release
9 years ago

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.
0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago