Go to the documentation of this file.
18 #ifndef __LIB_LIBRUNTIME_PROCESSCLIENT_H
19 #define __LIB_LIBRUNTIME_PROCESSCLIENT_H
21 #include <FreeNOS/User.h>
22 #include <FreeNOS/ProcessManager.h>
Process information structure, used for Info.
Result processInfo(const ProcessID pid, Info &info) const
Get process information by its ID.
ProcessID getParentID() const
Get parent process identifier.
ProcessClient provides information about all processes on the local core.
u32 ProcessID
Process Identification Number.
ProcessID getProcessID() const
Get current process identifier.
static const Size MaximumProcesses
Maximum number of processes.
String command
Full command including program path.
#define MAX_PROCS
Maximum number of processes.
String textState
Textual state of the process.
unsigned int Size
Any sane size indicator cannot go negative.
ProcessInfo kernelState
Process state retrieved from the kernel.
static const ProcessID m_pid
Our own process identifier.
ProcessID findProcess(const String program) const
Find a process by its program name.
static const ProcessID m_parent
Our parent process identifier.
struct ProcessClient::Info Info
Process information.