mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-01 07:35:02 +03:00
ps: Widen state field to fit "Condition" and other fields
Similar to ab20c91cfb
.
This commit is contained in:
parent
57da716be0
commit
b12d1fbb81
Notes:
sideshowbarker
2024-07-19 13:11:40 +09:00
Author: https://github.com/rburchell Commit: https://github.com/SerenityOS/serenity/commit/b12d1fbb813 Pull-request: https://github.com/SerenityOS/serenity/pull/331 Reviewed-by: https://github.com/awesomekling ✅
@ -9,7 +9,7 @@ int main(int argc, char** argv)
|
||||
(void)argc;
|
||||
(void)argv;
|
||||
|
||||
printf("PID TPG PGP SID OWNER STATE PPID NSCHED FDS TTY NAME\n");
|
||||
printf("PID TPG PGP SID OWNER STATE PPID NSCHED FDS TTY NAME\n");
|
||||
|
||||
auto all_processes = CProcessStatisticsReader::get_all();
|
||||
|
||||
@ -19,8 +19,10 @@ int main(int argc, char** argv)
|
||||
|
||||
if (tty != "notty")
|
||||
tty = strrchr(tty.characters(), '/') + 1;
|
||||
else
|
||||
tty = "n/a";
|
||||
|
||||
printf("%-3u %-3u %-3u %-3u %-4u %-8s %-3u %-9u %-3u %-4s %s\n",
|
||||
printf("%-3u %-3u %-3u %-3u %-4u %-10s %-3u %-9u %-4u %-4s %s\n",
|
||||
proc.pid,
|
||||
proc.pgid,
|
||||
proc.pgp,
|
||||
|
Loading…
Reference in New Issue
Block a user