A simple script to generate a heap snapshot of a remote running node process.
The following environment variables are required:
REMOTE_HOSTis the host of the remote node processREMOTE_PORTis the port of the remote node processHEAP_PATHis the local path to the heap snapshot file. The generated file will be concatenated with the host, port,and current timestamp.