fork performance test

while (true); do date --utc; done | uniq -c
Sample Output
$ while (true); do date --utc; done | uniq -c
      5 Wed Apr 21 12:38:10 UTC 2010
      6 Wed Apr 21 12:38:11 UTC 2010
      1 Wed Apr 21 12:38:12 UTC 2010
      1 Wed Apr 21 12:38:13 UTC 2010
      8 Wed Apr 21 12:38:14 UTC 2010
      8 Wed Apr 21 12:38:15 UTC 2010
      6 Wed Apr 21 12:38:16 UTC 2010
      1 Wed Apr 21 12:38:18 UTC 2010
      9 Wed Apr 21 12:38:19 UTC 2010

2
By: hute37
2013-03-15 12:05:37

What Others Think

kewl... BASH: ~400/s DASH: ~600/s
michelsberg · 422 weeks and 1 day ago
Being an educator, it's far my commitment to show understudies the exercise of life. Check this http://www.grammerchecker.net/ for more info. You have made it clean for me to figure out which sort of adolescents wants to perceive moral morals and ethics. On account of your article, I am ready to break down numerous things.
Ahmed74 · 16 weeks and 2 days ago
The dispatch of Iceland's Food Warehouse has given me epic rapture. Check this homepage for more info. Seeing the underlying shot of each new business open section constantly fulfills me.
Ahmed74 · 16 weeks and 2 days ago
If all else fails, I need to get an expert paper plotting relationship since I would slant toward not to deal with my commitments with no other individual. Visit http://www.freepunctuationchecker.com/best-apostrophe-checker-is-here/ to do work in time. I can't make a provocative piece with no other person.
anonymous00 · 11 weeks and 4 days ago
Particular astounding and stunning fragments are open in this film. Click https://www.punctuationcorrector.com/correct-grammar-and-punctuation-checker/ to see more. In the end I am a lover of Stephen Schiff who has sketched out this surprising film.
anonymous00 · 11 weeks and 4 days ago

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this?

commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands



Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.

» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10

Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: