Created
July 14, 2015 21:53
-
-
Save papertigers/3e9e5681d44c3eef605f to your computer and use it in GitHub Desktop.
mdb in lx with node
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| root@ee0e551e597f:/# vim example.js | |
| root@ee0e551e597f:/# node example.js | |
| Server running at http://127.0.0.1:1337/ | |
| [1]+ Stopped node example.js | |
| root@ee0e551e597f:/# bg | |
| [1]+ node example.js & | |
| root@ee0e551e597f:/# ps -ef | |
| UID PID PPID C STIME TTY TIME CMD | |
| root 31812 1 0 21:51 ? 00:00:00 ps -ef | |
| root 31802 1 0 21:51 ? 00:00:00 node example.js | |
| root 1 0 0 21:50 ? 00:00:00 bash | |
| root@ee0e551e597f:/# export PATH=$PATH:/native/usr/bin:/native/usr/sbin:/native/sbin | |
| root@ee0e551e597f:/# which gcore | |
| /native/usr/bin/gcore | |
| root@ee0e551e597f:/# gcore 31802 | |
| gcore: core.31802 dumped | |
| root@ee0e551e597f:/# ls | |
| bin boot core.31802 dev etc example.js home lib lib64 media mnt native opt proc root run sbin srv sys system tmp usr var | |
| root@ee0e551e597f:/# which node | |
| /usr/local/bin/node | |
| root@ee0e551e597f:/# mdb /usr/local/bin/node core.31802 | |
| Loading modules: [ libc.so.1 ld.so.1 libc.so.6 ] | |
| > ::load v8 | |
| V8 version: 3.28.73.0 | |
| Autoconfigured V8 support from target | |
| C++ symbol demangling enabled | |
| > ::jsstack | |
| native: LMfd`libc.so.1`ioctl+0xa | |
| native: LMfd`lx_brand.so.1`lx_epoll_wait+0x1d | |
| native: LMfd`lx_brand.so.1`lx_emulate+0xbf | |
| > ::jsfunctions | |
| FUNC #FUNCS NAME FROM | |
| 18432eb4b919 1 <anonymous> (as Worker.destroy) cluster.js position 13161 | |
| 18432eb4b8b1 1 <anonymous> (as Worker.disconnect) cluster.js position 13049 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment