Mac OS X Reference Library Apple Developer Connection spyglass button

Process Information

The NSProcessInfo class provides methods to access process-wide information. An NSProcessInfo object can return such information as the current process’s arguments, environment variables, host name, and process name.

The NSProcessInfo class is available in Objective-C only. In Java, the NSSystem class provides the same information as NSProcessInfo as well as information obtained from function calls in Objective-C. The NSSystem class object can return such additional information as the user’s name, full name, and home directory. The class also provides a method, log, to send strings to stderr.



Last updated: 2006-04-04

Did this document help you? Yes It's good, but... Not helpful...