Skip to content

Improve the process list tome output #423

@hulto

Description

@hulto

Is your feature request related to a problem? Please describe.
The process list tome output is kinda hard to read.
I really like process trees like with ps -faux

Describe the solution you'd like
Update the process list tome to print a process tree.
Similar to this:

USER         PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         729  0.0  0.0 241228  4864 ?        Ssl   2023   0:00 /usr/sbin/gdm3
root        1307  0.0  0.0 170240  5504 ?        Sl    2023   0:00  \_ gdm-session-worker [pam/gdm-launch-environment]
gdm         1402  0.0  0.0 162428  3200 tty1     Ssl+  2023   0:00      \_ /usr/libexec/gdm-x-session dbus-run-session -- gnome-session --autostart /usr/share/gdm/greeter/autostart
gdm         1407  0.0  0.0 1489800 8704 tty1     Sl+   2023   0:02          \_ /usr/lib/xorg/Xorg vt1 -displayfd 3 -auth /run/user/128/gdm/Xauthority -nolisten tcp -background none -noreset -keeptty -novtswitch -verbose 3
gdm         1516  0.0  0.0   6492  1152 tty1     S+    2023   0:00          \_ dbus-run-session -- gnome-session --autostart /usr/share/gdm/greeter/autostart
gdm         1517  0.0  0.0   8720  2816 tty1     S+    2023   0:00              \_ dbus-daemon --nofork --print-address 4 --session
root         719  0.0  0.0  15424  4352 ?        Ss    2023   0:00 sshd: /usr/sbin/sshd -D [listener] 0 of 10-100 startups
root      133960  0.0  0.0  17296 10880 ?        Ss   13:19   0:00  \_ sshd: sysadmin [priv]
sysadmin  134038  0.0  0.0  17432  7864 ?        S    13:19   0:00      \_ sshd: sysadmin@pts/0
sysadmin  134039  0.0  0.0  11276  5248 pts/0    Ss   13:19   0:00          \_ -bash
root      134129  0.0  0.0  14348  5760 pts/0    S+   13:19   0:00              \_ sudo su -
root      134130  0.0  0.0  14348  2480 pts/5    Ss   13:19   0:00                  \_ sudo su -
sysadmin   64686  0.0  0.0  14664  5516 ?        Ss    2023   0:05 tmux
sysadmin   64687  0.0  0.0  11300  4352 pts/1    Ss    2023   0:00  \_ -bash
sysadmin  122694  0.0  0.0 1550072 19432 pts/1   Sl+   2023   0:07  |   \_ docker run -v /home/sysadmin/Documents/projects/:/projects/ -it rustc-ollvm:latest /bin/bash
sysadmin   65167  0.0  0.0  11432  4224 pts/2    Ss+   2023   0:00  \_ -bash

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

Labels

featureNew feature or requesttome

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions