Mono Class Library: Mono.Unix NamespaceMono.Unix.UnixProcess Class |
See Also: UnixProcess Members
|
All public static members of this type are safe for multithreaded operations. No instance members are guaranteed to be thread safe.
The Mono.Unix.UnixProcess class provides the means for inspecting and interacting with an operating system process.
No mechanism is currently provided to enumerate all processes on the system. This limitation exists for two reasons:
[Edit]
- POSIX doesn't provide a mechanism to enumerate all processes, so such functionality wouldn't be portable. Common workarounds include the /proc filesystem, but not all operating systems provide that.
- Many methods, such as UnixProcess.WaitForExit, require that the target process be a child of the current process. Enumerating all processes on the system would return processes that are not children of the current process, and thus these methods would error.
Namespace: Mono.Unix
Assembly: Mono.Posix (in Mono.Posix.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0