- Oct 17, 2001
- 1,027
- 0
- 0
I have a perl program that makes a system call to run another tool. This tool can take anywhere between a few seconds to a few HOURS to complete... leaving me impatiently wondering if the other tool is still running or if the perl program crashed.
I'd like to do something like this pseudo code:
while (system "run other tool") {
print "..." every 5 seconds;
}
So I'll basically get a screen full of "............." while the perl is executing, assuring me that the other tool is still running. Any clever ideas?
And yes I can do a unix top to check the status... but I'd rather have a slick solution here
I'd like to do something like this pseudo code:
while (system "run other tool") {
print "..." every 5 seconds;
}
So I'll basically get a screen full of "............." while the perl is executing, assuring me that the other tool is still running. Any clever ideas?
And yes I can do a unix top to check the status... but I'd rather have a slick solution here
