+ (Nsprocessinfo *) processinfo // return the information of the current process-(nsarray *) Arguments // return the parameters of the current process in the form of an nsstring object array-(nsdictionary *) environment // return the dictionary of variables/value pairs to describe the current environment variables (such as path and home) and their values-(INT) processidentifier // return the process identifier, it is a unique number assigned to a process by the operating system. It is used to identify each running process-(nsstring *) processname // return the name of the currently running process-(nsstring *) globallyuniquestring // each time this method is called, different single-value strings are returned. You can use this string to generate a temporary Single-value File Name-(nsstring *) hostname // return the host system name (in the author's Mac OS X system, the returned Mac-m Ato-ipad.local)-(nsuinteger) operatingsystem // returns the number representing the Operating System (5 in the author's Mac OS X System)-(nsstring *) operatingsystemname // return the name of the Operating System (nsmachoperatingsystem is returned in the author's Mac OS X system. The value may be defined in nsprogressinfo. in the hfile)-(nsstring *) operatingsystemversionstring // return the current version of the operating system (the author returns version 10.7.5 (build 11g56) in Mac OS X)-(void) setprocessname :( nsstring *) Name // set the current process name to name. This method should be used with caution. There should be some assumptions about the process name (such as the user's default settings)
Nsprocessinfo
Reference