Welcome to our website
To take full advantage of all features you need to login or register. Registration is completely free and takes only a few seconds.
Linux Time Command Examples
Posted by Philipp Esselbach on: 01/26/2012 10:36 AM [ Print | 0 comment(s) ]
The Geek Stuff posted Linux Time Command Examples
There are times when you might want to profile your program on parameters like:
Time taken by program in user mode
Time taken by program in kernel mode
Average memory usage by the program
etc
On Linux we have a utility ‘time’ that is designed specifically for this purpose. The utility ‘time’ takes a program name as an input and displays information about the resources used by the program. Also, if the command exists with non-zero status, this utility displays a warning message and exit status.
Time taken by program in user mode
Time taken by program in kernel mode
Average memory usage by the program
etc
On Linux we have a utility ‘time’ that is designed specifically for this purpose. The utility ‘time’ takes a program name as an input and displays information about the resources used by the program. Also, if the command exists with non-zero status, this utility displays a warning message and exit status.
Linux Time Command Examples
Related Threads
02/04/2010 01:59 PM: linux tips and tricks (4) by prakash0106
