Summarize system resourses used by Linux application

stop-watchLinux utility time is used to run programs and summarize system resources usage.

time runs the program COMMAND with any given arguments ARG… When COMMAND finishes, time displays information about resources used by COMMAND (on the standard error output, by default). If COMMAND exits with non-zero status, time displays a warning message and the exit status.

The following example shows how to check how much time it takes to copy 4 GB data from one USB disk to another:

time dd if=/dev/sda of=/dev/sdb
real 18m2.513s
user 0m0.076s
sys 0m0.016s

Actually, time can be used as a prefix for any Linux application you run to check how much time it takes to get this app. finished. Very useful one.

 
 
» You might also be interested in the following articles:
Poker and Linux [guest post]
Install Ubuntu as Windows XP/Vista Application (with Wubi)
Get FreeBSD ports tree after OS installation
Autostart programs in Ubuntu
CryoPID: Freeze and Unfreeze processes in Linux



» Want to stay up to date? Subscribe to our E-MAIL or RSS feed!

0 Responses to “Summarize system resourses used by Linux application”


  1. No Comments

Leave a Reply




Friendly Sites:Who is behind Linux Screw?
GeekyBits³ | Bash Cures Cancer | OMG! Ubuntu!
My SysAd Blog | Web Upd8
ZEPY | Linux config Wiki | Planet Sysadmin
a non-geek's linux notes | Linux Today
TuxArena: The arena of Tux | LinuxAlt.Com
My name is Artem N. (artiomix AT gmail DOT com) and I'm Linux/Unix, Cisco systems engineer. The main idea of Linux Screw is to share relevant knowledge, skills and observations over The Web. Here you can find a lot of information related to different Linux distributions, FreeBSD, IOS as well as a other Open Source around staff. Read more ››