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.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.3
    4
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.3
    4
  • 0.0.2
    0
  • 0.0.1
    0

Package Sidebar

Install

npm i gcore

Weekly Downloads

4

Version

0.0.3

License

MIT

Last publish

Collaborators

  • tjfontaine