Creating multiple snapshots in a single workspace via the command line
Hello,
I'm trying to profile an application running in linux environment via the command line. I'd like the final result to be a single workspace with two snapshots in it.
I've tried using the get-snapshot command but it seems like it saves each snapshot into a separate workspace.
How can I collect multiple snapshots in a single profiling session via the command line tool?
Please sign in to leave a comment.
Hello,
You should use attach command to be able to do it:
Usage: dotMemory.sh attach [--service-output|-s] [--temp-dir=<dir-path>] [<core-options>] <process-spec> [--timeout|-t=<time>] <control-spec> <save-to-spec>
Use "dotMemory.sh help attach" to get additional info.
Thank you, it worked