To know the time taken by a command
time ls
time echo "print 40*123" | /usr/bin/python
time grep smthin *
Output
grep: workspace: Is a directory
real 0m19.289s
user 0m16.983s
sys 0m0.282s
time ls
time echo "print 40*123" | /usr/bin/python
time grep smthin *
Output
grep: workspace: Is a directory
real 0m19.289s
user 0m16.983s
sys 0m0.282s
No comments:
Post a Comment