Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Usually I measure execution times with

time updater

Unfortunately I already started the updater and do not want to interrupt it because this would cause other trouble.

How can I still see tomorrow when I return to work the time it needed to complete

share|improve this question

2 Answers 2

up vote 2 down vote accepted

Open a new terminal and execute date to get the current time. Type date and hit Enter in the terminal running updater. That will show you the time that updater finishes. Subtract the two.

share|improve this answer




while [ "$PPCHK" -eq "1" ]
    PPCHK=$(ps aux | grep -v grep | grep -c $PROGRAM1)
    sleep 1;

And then time appcheck.sh

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.