Permalink
Browse files

doc: update signal instructions

`pkill -USR2 node` will kill all node processes that don't have a SIGUSR2
handler installed, i.e. are not running node-heapdump.
  • Loading branch information...
1 parent 1aceeb5 commit 4b8cad56b177ea785fcbee218daee9b44928d504 @bnoordhuis committed Nov 7, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.md
View
@@ -17,10 +17,10 @@ Load the add-on in your application:
require('heapdump');
-The module does not export any properties. Now send the process a SIGUSR2
+The module does not export any properties. Now send the node process a SIGUSR2
signal:
- $ pkill -USR2 node
+ $ kill -USR2 <pid>
A heapdump-xxxx.xxxx.heapsnapshot is written to the application's current
directory.

0 comments on commit 4b8cad5

Please sign in to comment.