Or run gcore $(pidof processname)
.
This has the benefit (over running gdb and issuing commands to the CLI) that you attach and detach in the shortest possible time.
Or run gcore $(pidof processname)
.
This has the benefit (over running gdb and issuing commands to the CLI) that you attach and detach in the shortest possible time.