Stop and resume process

stop:

$ kill -STOP pid

resume:

$ kill -CONT pid