I was reading my Nezmar pal’s blog when I found a post in which he showed a funny trik to visualize the hardware architectures present in your current installation of Mac OS X.
This is obtainable by giving the following command or your terminal.app:
find / -perm -1 -type f -exec file \{\} \; | grep Mach-O | grep 'for architecture' | awk '{ print substr($0, match($0, "for architecture [^\\)]*"), RLENGTH)}' | cut -d' ' -f3 | sort | uniq -c
And this is what I get from it after some CPU clicles and hard drives read:
3234 i386
463 ppc
635 ppc64
2346 ppc7400
1 ppc750
1129 x86_64
where i386 means Intel specific code, ppc for the generic PowerPC family, ppc7400 for G4, ppc750 for G3, ppc970 for G5.
Enjoy !
Advertisement
Nice command! Note the x86_64 also – this tells you that your intel processor is 64bit capable and that there are binaries on the system that run in 64 bit mode. Would be interesting to see what someone with an Intel processor still running 10.4 would have as far as 64bit executables.
[...] November 12th, 2007 · No Comments what architectures in your Mac OS ? « /home/kOoLiNuS [...]
toc toc, incapace all’opera cerca aiuto!ho provato a inserire un widget per la musica (http://www.last.fm/)..ho seguito tutta la procedura, mi ha generato il codice…ma quando lo inserisco nel widget di testo del mio blog….NADA!
Idem per flickr!ho provato in tutti i modi..niente di niente le foto non appaiono!
sono io tarata????o sicuramente mi perdo qualche passaggio??
http://www.dishablog.wordpress.com
grazie dell’attenzione.Rossella
I did a quick run on a 1,6GHz Powerbook and I got:
6311 i386
2821 ppc
1038 ppc64
3489 ppc7400
1118 x86_64
uhm ….