9srv Manual Collection/plan9/snap(4) | 9srv Manual Collection/plan9/snap(4) |
---|
snapfs [ -a ] [ -m mtpt ] [ -s service ] file...
Snap writes a snapshot (see snap(6)) of the named processes to file (default standard output). If pid is a text string rather than a process id, snap will save all processes with that name that are owned by the current user. Both memory and text images are saved.
Snapfs is a file server that recreates the /proc directories for the processes in the snapshot. By default, it mounts the new directories into /proc before the current entries. The -m option can be used to specify an alternate mountpoint, while -a will cause it to mount the new directories after the current entries. The -s option causes it to serve requests via /srv/service.
When the author returns, he can add the process images to his name space by running
and then use a conventional debugger to debug them.
Pid as a non-numeric string is unimplemented; it has to be a number.
9srv Manual Collection/plan9/snap(4) | Rev: Sun Dec 02 23:42:24 GMT 2007 |