> php foo.php
21519 just started
I'm doing something
I'm doing something
I'm doing something
… … 

> kill -sigint 21519
/* PHP process is interrupted at some stage, let's see its
 * memory usage at this precise stage
 */
> cat /proc/21519/status
Name:	php 
State:	T (stopped) 
Tgid:	23196 
Pid:	23196 
PPid:	9083 
TracerPid:	0 
Uid:	1001	1001	1001	1001 
Gid:	1001	1001	1001	1001 
FDSize:	256 
Groups:	27 33 108 1000 1001 
VmPeak:	  145088 kB 
VmSize:	  145080 kB
/* … … */

/* Now, let's resume it */
> kill -sigcont 21519

>I'm doing something
I'm doing something
I'm doing something
… … 