Re: running processes on Mac OS X?
Re: running processes on Mac OS X?
- Subject: Re: running processes on Mac OS X?
- From: Christopher Nebel <email@hidden>
- Date: Fri, 31 Aug 2001 11:03:52 -0700
On Friday, August 31, 2001, at 12:45 AM, Greg Strange wrote:
OK, this works great for Mac OS 8... But not Mac OS X...
How do I get a list of running processes on Mac OS X?
I don't use OS X enough to know if this works but given its BSD layer
and
something like KinderShell OSAX you could issue the terminal command
"ps -A"
which will give you a list of processes.
The option you want is "-x" or "-ax" -- there's no such thing as "ps -A"
in BSD. However, this will give you rather different results than the
"processes" element, and they aren't really useful for the same things.
To answer the original question, "processes" is not supported in Mac OS
X 10.0, but is in 10.1, at least for the local system. Because of how
it works, you still can't get the processes of a remote machine.
--Chris Nebel
AppleScript Engineering