I have been running Leopard since friday, and it is amazing!… there are many reviews to read, so lets not state the obvious over and over.
Today I noticed a difference between the Intel and PowerPC in the ‘ps’ utility. Both machines say that they have the same version of ‘ps’ in /bin/ps:
MD5 (/bin/ps) = bce38c39ee7b501eaf00745b87ed0565
and both systems have the same OS:
Darwin Zaphod.local 9.0.0 Darwin Kernel Version 9.0.0: Tue Oct 9 21:35:55 PDT 2007; root:xnu-1228~1/RELEASE_I386 i386
vs
Darwin cw1m01j 9.0.0 Darwin Kernel Version 9.0.0: Tue Oct 9 21:37:58 PDT 2007; root:xnu-1228~1/RELEASE_PPC Power Macintosh powerpc
so the only difference is the architecture.
So; the difference? on an Intel mac you can no longer do ps -auxww while on the powerpc version it does give the proper output. On the Intel version you can however do ps auxww, which also works on the powerpc version. So, did someone make a booboo here? This will probably break some scripts on the server side I would think.
Makes you wonder if there are more inconsistencies between architectures.
(with thanks to Marco and his old PowerBook)
2 Comments
relatedly, i just discovered you can do SysV-style ps options. eg. “ps -fu userid”. this’ll be why you can’t use the BSD options with a - in front of them. Linux’s ps works like this, for instance (- for SysV style, no - for BSD-style). i haven’t upgraded my PPC Mac yet, though, so haven’t confirmed that end of things.
Hi cos,
Indeed, this is a new addition I noticed as well… however the usage of -u differs on Intel vs PPC architecture, which is kinda the point… I imagine this was done for the UNIX certification, however the difference in functionality between Intel and PPC arch is quite disturbing no?
Core