DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

Time

09.23.2006
| 1058 views |
  • submit to reddit
        With time you can list the resources that a certain command takes up. For example, 
time dd if=/dev/random of=/dev/null count=10
will output the number of resources taken up by moving 10 blocks of random data to memory.