In Windows, using the Task Manager, we can right click on a process and Create dump file to export all threads state and memory usage to a file. I use it to debug some programs that are deployed in production environment.
I would like to be able to call this feature using the command line. Is it possible and how? I want to do that without having to install a third party software