How long does my script take and how much CPU does it use?
Try: time ./backup.sh Info: The time command shows execution time. real is wall clock time, user is CPU time for the program, and sys is CPU time for system calls. Examples: $ time ./deploy.sh $ /usr/bin/time -v ./process.py $ time tar -czf backup.tar.gz /home/data Note: Use /usr/bin/time -v for detailed resource […]
Read More