Zombie process

I would like to create a zombie process so that I can test monitoring software functionality. Any techniques?

You can try this

  • look for Zombie processes.

That PERL code creates a zombie:

if (fork() > 0) { while (1) { sleep 60*60; }; };