diff options
Diffstat (limited to 'Kernel/ProcFileSystem.cpp')
-rw-r--r-- | Kernel/ProcFileSystem.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Kernel/ProcFileSystem.cpp b/Kernel/ProcFileSystem.cpp index bc4f64d0e9..7bde996892 100644 --- a/Kernel/ProcFileSystem.cpp +++ b/Kernel/ProcFileSystem.cpp @@ -24,13 +24,14 @@ bool ProcFileSystem::initialize() auto stringImpl = StringImpl::createUninitialized(tasks.size() * 128, buffer); memset(buffer, 0, stringImpl->length()); char* ptr = buffer; - ptr += ksprintf(ptr, "PID OWNER STATE NAME\n"); + ptr += ksprintf(ptr, "PID OWNER STATE NSCHED NAME\n"); for (auto* task : tasks) { - ptr += ksprintf(ptr, "%w %w:%w %b %s\n", + ptr += ksprintf(ptr, "%w %w:%w %b %w %s\n", task->pid(), task->uid(), task->gid(), task->state(), + task->timesScheduled(), task->name().characters()); } ptr += ksprintf(ptr, "kmalloc: alloc: %u / free: %u\n", sum_alloc, sum_free); |