diff options
author | Gunnar Beutner <gbeutner@serenityos.org> | 2021-05-18 00:47:38 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-05-18 08:07:29 +0200 |
commit | 2754112a7a6dbdf90ca76273aa95bbd0882dff28 (patch) | |
tree | c2ea33b08c45099d48ddcc70de99f3249f5bdcd6 /Userland/Utilities | |
parent | 31d24d829258cf8f52b697dcefff02eae2029bcd (diff) | |
download | serenity-2754112a7a6dbdf90ca76273aa95bbd0882dff28.zip |
Utilities: Make the STATE column for top slightly larger
The STATE column was slightly too small to fit the states for
NetworkTask and FinalizerTask.
Diffstat (limited to 'Userland/Utilities')
-rw-r--r-- | Userland/Utilities/top.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Utilities/top.cpp b/Userland/Utilities/top.cpp index e7de663a35..d9e2740941 100644 --- a/Userland/Utilities/top.cpp +++ b/Userland/Utilities/top.cpp @@ -160,7 +160,7 @@ int main(int, char**) auto sum_diff = current.sum_times_scheduled - prev.sum_times_scheduled; printf("\033[3J\033[H\033[2J"); - printf("\033[47;30m%6s %3s %3s %-9s %-10s %6s %6s %4s %s\033[K\033[0m\n", + printf("\033[47;30m%6s %3s %3s %-9s %-13s %6s %6s %4s %s\033[K\033[0m\n", "PID", "TID", "PRI", @@ -192,7 +192,7 @@ int main(int, char**) int row = 0; for (auto* thread : threads) { - int nprinted = printf("%6d %3d %2u %-9s %-10s %6zu %6zu %2u.%1u ", + int nprinted = printf("%6d %3d %2u %-9s %-13s %6zu %6zu %2u.%1u ", thread->pid, thread->tid, thread->priority, |