blob: ee538c4a8baf9beded74217642c9dc67fc5ce7a4 [file] [log] [blame]
/* Simple executable that will print it's pid and then do nothing for 10
* minutes. You can finish it earlier by sending a SIGTERM. */
#include <stdio.h>
#include <unistd.h>
int
main(int argc, char **argv)
{
int i;
printf("%ld\n", (long)getpid());
fflush(stdout);
for (i = 0; i < 60; i++)
sleep(10);
return 0;
}