site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com On jeudi, janvier 5, 2006, at 06:07 PM, Mike Smith wrote: On Jan 5, 2006, at 2:26 AM, Stephane Sudre wrote: An admin may choose to remove ps from the standard location. Well, in that case, Windows is better than OS X :-) _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... [...] An extreme case could also be that the ps tool is not installed on the computer. Then the system is not Mac OS X. Would you also consider than when grep is not installed, it's not Mac OS X? The fact is that it was not part of the standard install before 10.3. Anyway, the main problem IMHO is that OS X/Darwin is lacking either a true and trustful API to get this information or a proc folder (even though I think I saw such a folder in one case (maybe it was on OS X Server)). There is no such interface because the information you want cannot be reliably returned; an interface that returns wrong information is worse than no interface at all. This email sent to site_archiver@lists.apple.com