Go to the documentation of this file.
37 out <<
"ID PARENT USER GROUP STATUS CMD\r\n";
52 "%3d %7d %4d %5d %10s %32s\r\n",
ProcessList(int argc, char **argv)
Constructor.
ssize_t write(int fildes, const void *buf, size_t nbyte)
Write on a file.
Size length() const
Same as count().
ProcessID parent
Parent process id.
Result processInfo(const ProcessID pid, Info &info) const
Get process information by its ID.
ProcessClient provides information about all processes on the local core.
u32 ProcessID
Process Identification Number.
POSIX-compatible application.
void setDescription(const String &desc)
Set program description.
static const Size MaximumProcesses
Maximum number of processes.
String command
Full command including program path.
#define DEBUG(msg)
Output a debug message to standard output.
String textState
Textual state of the process.
virtual Result exec()
Execute the application.
ProcessInfo kernelState
Process state retrieved from the kernel.
ArgumentParser & parser()
Get program arguments parser.
int snprintf(char *buffer, unsigned int size, const char *fmt,...)
Write a formatted string into a buffer.