Socket
Socket
Sign inDemoInstall

corevis

Package Overview
Dependencies
Maintainers
4
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

corevis

Visualize Node.JS coredumps with HTML using mdb(1)


Version published
Maintainers
4
Created
Source

corevis

Generate HTML based on information gathered with mdb(1) from a node.js core dump

Example: http://us-east.manta.joyent.com/devops@voxer.com/public/corevis/example.html

Installation

[sudo] npm install -g corevis

Usage

At Voxer, we use commands similar to the ones below to ensure that all core dumps go to a specific directory

mkdir /core
coreadm -g /core/core.%f.%p -G all -e global -d process -e global-setid -d proc-setid -I all -e log

Run any of the examples to generate a core dump, then use corevis to make an HTML file with analysis.

[root@test1 ~/node-corevis]# node examples/big-objects.js
pid 9986
Abort (core dumped)
[root@test1 ~/node-corevis]# ./corevis.js /core/core.node.9986 > example.html
> loading /core/core.node.9986... 147ms
> getting status... 896ms
> loading v8... 66ms
> getting stack trace... 37ms
> finding jsobjects (this can take a while)... 13585ms
> calling ::jsprint -a on all objects found... 21975ms
> analyzing data... 631ms
> loading assets... 15ms
> generating HTML... 167ms
> killing mdb... 10ms
> done. took 37.53 seconds...

CLI Usage

Usage: corevis [options] <node coredump>

Generate HTML based on information gathered with mdb(1) from
a node.js core dump

Examples
    $ corevis core.node.1234 > vis.html
    $ corevis --load /var/tmp/v8-new.so core.node.1234 > vis.html

Options
  -h, --help       print this message and exit
  -l, --load <v8>  argument to pass to `::load` in mdb(1), defaults to "v8"
  -u, --updates    check npm for available updates to this program
  -v, --version    print the version number and exit

License

MIT License

Keywords

FAQs

Package last updated on 12 Mar 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc