To time any command in unix just prefix the command with "time ". for e.g.
PID TTY TIME CMD
14648 pts/0 00:00:00 bash
14778 pts/0 00:00:00 ps
real 0m0.032s
user 0m0.004s
sys 0m0.024s
- "time ps"
- "time ls"
- "time python scripts/dev_scripts/test_backup_upload_locally.py ../vmshare"
PID TTY TIME CMD
14648 pts/0 00:00:00 bash
14778 pts/0 00:00:00 ps
real 0m0.032s
user 0m0.004s
sys 0m0.024s
Comments
Post a Comment