All these tests assume the following test program and shell script, test.sh.
#include
int main( int argc, char *argv[] )
{
int i;
for (i=0; i<100; i++)
{
printf("i = %d\n", i);
fflush(stdout);
sleep(1);
}
}
#!/bin/bash
/home/test/test
Related topics