Not logged in
Log in now
Create an account
Subscribe to LWN
Recent Features
LWN.net Weekly Edition for May 23, 2013
An "enum" for Python 3
An unexpected perf feature
LWN.net Weekly Edition for May 16, 2013
A look at the PyPy 2.0 release
nix@hades 40 /home/nix% /usr/bin/time stat /usr/bin/* >/dev/null 0.21user 0.14system 0:00.78elapsed 46%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (1major+335minor)pagefaults 0swaps
Maybe it's running file(1) or libmagic on every single one? That could look like a freeze if you didn't notice the disk pounding away:
nix@hades 41 /home/nix% /usr/bin/time file /usr/bin/* >/dev/null 0.17user 0.58system 0:26.16elapsed 2%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (0major+735minor)pagefaults 0swaps
(This is on a system with 3977 binaries in /usr/bin.)
My personal paper cut
Posted Jul 24, 2009 21:18 UTC (Fri) by jimparis (subscriber, #38647) [Link]
Now it's a challenge :)
$ ls /usr/bin | wc -l 2660 $ ssh psy ls /usr/bin | wc -l 3180 $ ssh bucket ls /usr/bin | wc -l 2221 $ ssh neurosis ls /usr/bin | wc -l 2605 $ ssh oldneurosis ls /usr/bin | wc -l 4036
Finally!
Posted Jul 24, 2009 22:08 UTC (Fri) by nix (subscriber, #2304) [Link]
nix@hades 3 /home/nix% ls -l /usr/bin | wc -l 4102
:)
(is this the single most pointless contest that has ever been carried out on LWN? I bet I have more symlinks in /usr/bin than you: 4099...)
Copyright © 2013, Eklektix, Inc. Comments and public postings are copyrighted by their creators. Linux is a registered trademark of Linus Torvalds