Let’s assume you have written two script name script1.sh and script2.sh. You can do this
Same thing to script2.sh, and the results will looks as bellow:
real shows you the execution time script1.sh takes, o minutes 1.005 seconds. user and sys tracks the CPU processing time. From the results, shows us that script1.sh uses 8 milliseconds CPU processing time in kernel mode (sys) and None in user mode.